apps: fix auto-catalog update cron job which was broken because --apps doesnt exist anymore

This commit is contained in:
Alexandre Aubin 2023-05-26 20:41:40 +02:00
parent f046c291e5
commit 1552944fdd

View file

@ -97,7 +97,7 @@ EOF
# Cron job that upgrade the app list everyday
cat >$pending_dir/etc/cron.daily/yunohost-fetch-apps-catalog <<EOF
#!/bin/bash
(sleep \$((RANDOM%3600)); yunohost tools update --apps > /dev/null) &
sleep \$((RANDOM%3600)); yunohost tools update apps > /dev/null
EOF
# Cron job that renew lets encrypt certificates if there's any that needs renewal