()
Migrate config files to their new locations
Migrate config files to their new locations
Migrate config files to their new locations
def migrate_config_files():
    """Migrate config files to their new locations"""
    # handle old TLJH_DIR/config.yaml location
    migrate_file(os.path.join(INSTALL_PREFIX, "config.yaml"), CONFIG_FILE)
    migrate_directory(
        os.path.join(INSTALL_PREFIX, "jupyterhub_config.d"),
        os.path.join(CONFIG_DIR, "jupyterhub_config.d"),
    )
def migrate_config_files ( ) : # handle old TLJH_DIR/config.yaml location migrate_file ( os . path . join ( INSTALL_PREFIX , "config.yaml" ) , CONFIG_FILE ) migrate_directory ( os . path . join ( INSTALL_PREFIX , "jupyterhub_config.d" ) , os . path . join ( CONFIG_DIR , "jupyterhub_config.d" ) , )