aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main.c b/src/main.c
index d38ea2d..e5edd19 100644
--- a/src/main.c
+++ b/src/main.c
@@ -591,20 +591,10 @@ static int proc_read_cmdline(const char *pid_str, char *cmdline_data, int cmdlin
return 0;
}
-static int run_mangadex_migration_script() {
- const char *args[] = { "/usr/share/automedia/mangadex-upgrade.py", NULL };
- return program_exec(args, NULL, NULL);
-}
-
static void command_sync(int argc, char **argv, char *rss_config_dir, char *html_config_dir, char *program_dir) {
if(argc < 1)
usage_sync();
- if(run_mangadex_migration_script() != 0) {
- fprintf(stderr, "Failed to migrade mangadex manga\n");
- exit(1);
- }
-
char *download_dir = argv[0];
const char automedia_pid_path[] = "/tmp/automedia.pid";