mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Also remove the legacy cron job, since there was a name change
This commit is contained in:
parent
fa5c0e9a70
commit
a858a2072b
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ class MyMigration(Migration):
|
||||||
if os.path.exists(APPS_CATALOG_CACHE):
|
if os.path.exists(APPS_CATALOG_CACHE):
|
||||||
shutil.rmtree(APPS_CATALOG_CACHE)
|
shutil.rmtree(APPS_CATALOG_CACHE)
|
||||||
|
|
||||||
|
# and legacy cron
|
||||||
|
if os.path.exists("/etc/cron.daily/yunohost-fetch-appslists"):
|
||||||
|
os.remove("/etc/cron.daily/yunohost-fetch-appslists")
|
||||||
|
|
||||||
# Backup the legacy file
|
# Backup the legacy file
|
||||||
try:
|
try:
|
||||||
legacy_catalogs = read_json(LEGACY_APPS_CATALOG_CONF)
|
legacy_catalogs = read_json(LEGACY_APPS_CATALOG_CONF)
|
||||||
|
|
Loading…
Add table
Reference in a new issue