Home
last modified time | relevance | path

Searched refs:old_data_dir (Results 1 – 10 of 10) sorted by relevance

/dports/games/py-mnemosyne/Mnemosyne-2.7.3/mnemosyne/libmnemosyne/upgrades/
H A Dupgrade1.py27 old_data_dir = join(home, "Library", "Mnemosyne_1")
33 old_data_dir = join(home, ".mnemosyne")
35 config_file = join(old_data_dir, "config")
38 self.upgrade_from_old_data_dir(old_data_dir)
53 if os.path.exists(old_data_dir):
57 shutil.move(old_data_dir, backup_dir)
68 def upgrade_from_old_data_dir(self, old_data_dir): argument
71 open(join(old_data_dir,
120 if os.path.exists(join(old_data_dir, "history")):
124 shutil.copyfile(join(old_data_dir, "log.txt"),
[all …]
/dports/devel/thonny/thonny-3.3.14/thonny/plugins/
H A Dremove_old_data_dir.py8 old_data_dir = os.path.join(os.path.expanduser("~"), ".thonny")
9 if os.path.exists(old_data_dir):
14 if not os.path.exists(old_data_dir):
23 + "configuration, logs and such in '%s'" % old_data_dir
32 shutil.rmtree(old_data_dir, True)
33 shutil.rmtree(old_data_dir, True) # first one may keep empty directory
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/services/evolution-source-registry/
H A Devolution-source-registry-migrate-basedir.c229 gchar *old_data_dir; in migrate_fix_groupwise_bug() local
237 old_data_dir = g_build_filename (old_base_dir, "addressbook", NULL); in migrate_fix_groupwise_bug()
240 dir = g_dir_open (old_data_dir, 0, NULL); in migrate_fix_groupwise_bug()
258 old_filename = g_build_filename (old_data_dir, basename, NULL); in migrate_fix_groupwise_bug()
270 g_free (old_data_dir); in migrate_fix_groupwise_bug()
/dports/mail/evolution/evolution-3.42.1/src/shell/
H A De-migrate-base-dirs.c492 const gchar *old_data_dir; in shell_xdg_migrate_data_dir() local
499 old_data_dir = old_base_dir; in shell_xdg_migrate_data_dir()
507 src_directory = g_build_filename (old_data_dir, "mail", NULL); in shell_xdg_migrate_data_dir()
575 src_directory = g_build_filename (old_data_dir, "signatures", NULL); in shell_xdg_migrate_data_dir()
586 dir = g_dir_open (old_data_dir, 0, NULL); in shell_xdg_migrate_data_dir()
601 old_filename = g_build_filename (old_data_dir, basename, NULL); in shell_xdg_migrate_data_dir()
/dports/multimedia/tautulli/Tautulli-2.8.0/
H A DTautulli.py196 old_data_dir = os.path.join(snap_common, 'Tautulli')
197 if os.path.exists(old_data_dir) and os.listdir(old_data_dir):
200 shutil.move(old_data_dir, plexpy.DATA_DIR)
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/camel/
H A Dcamel-service.c371 gchar *old_data_dir; in service_find_old_data_dir() local
434 old_data_dir = NULL; in service_find_old_data_dir()
439 if (old_data_dir && !g_file_test (old_data_dir, G_FILE_TEST_IS_DIR)) { in service_find_old_data_dir()
440 g_free (old_data_dir); in service_find_old_data_dir()
441 old_data_dir = NULL; in service_find_old_data_dir()
446 return old_data_dir; in service_find_old_data_dir()
1100 gchar *old_data_dir; in camel_service_migrate_files() local
1105 old_data_dir = service_find_old_data_dir (service); in camel_service_migrate_files()
1109 if (old_data_dir != NULL) { in camel_service_migrate_files()
1110 if (g_rename (old_data_dir, new_data_dir) == -1) { in camel_service_migrate_files()
[all …]
/dports/emulators/mess/mame-mame0226/src/mame/machine/
H A Dvs9209.cpp140 u8 old_data_dir = m_data_dir[port]; in write() local
151 if ((data & ~old_data_dir) != 0 && !m_output_cb[port].isnull()) in write()
/dports/emulators/mame/mame-mame0226/src/mame/machine/
H A Dvs9209.cpp140 u8 old_data_dir = m_data_dir[port]; in write() local
151 if ((data & ~old_data_dir) != 0 && !m_output_cb[port].isnull()) in write()
/dports/mail/geary/geary-40.0/src/client/util/
H A Dutil-migrate.vala28 File old_data_dir;
53 old_data_dir = user_data_dir.get_child(email);
57 old_config_file = old_data_dir.get_child(SETTINGS_FILENAME);
62 is_migrated = old_data_dir.get_child(MIGRATED_FILENAME);
/dports/multimedia/tautulli/Tautulli-2.8.0/plexpy/
H A D__init__.py187 old_data_dir = os.path.join(snap_common, 'Tautulli')
188 CONFIG.HTTPS_CERT = CONFIG.HTTPS_CERT.replace(old_data_dir, DATA_DIR)
189 CONFIG.HTTPS_CERT_CHAIN = CONFIG.HTTPS_CERT_CHAIN.replace(old_data_dir, DATA_DIR)
190 CONFIG.HTTPS_KEY = CONFIG.HTTPS_KEY.replace(old_data_dir, DATA_DIR)
191 CONFIG.LOG_DIR = CONFIG.LOG_DIR.replace(old_data_dir, DATA_DIR)
192 CONFIG.BACKUP_DIR = CONFIG.BACKUP_DIR.replace(old_data_dir, DATA_DIR)
193 CONFIG.CACHE_DIR = CONFIG.CACHE_DIR.replace(old_data_dir, DATA_DIR)
194 CONFIG.EXPORT_DIR = CONFIG.EXPORT_DIR.replace(old_data_dir, DATA_DIR)
195 CONFIG.NEWSLETTER_DIR = CONFIG.NEWSLETTER_DIR.replace(old_data_dir, DATA_DIR)