aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-14 00:38:27 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-14 00:38:27 +0100
commit0145b7d91c3529415928868f024330ba23d2b9b3 (patch)
tree20a07de4cb74c7d17cd6fad7d0d56ee759e49fe1 /src
parent15d635f8e7d4c5f5e12f759a62d1b48ef2e67f70 (diff)
Remove mangadex upgrade
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";