Use full file path for cron replacement

Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
Eric Nemchik 2023-06-16 14:03:46 -05:00
parent 1859718b5b
commit 4eb5de15be
No known key found for this signature in database

View File

@ -24,7 +24,7 @@ if [ -f /config/www/nextcloud/version.php ]; then
! -path "/config/www/nextcloud/config" \
! -path "/config/www/nextcloud/themes" \
-delete
sed -i "s|/config/www/nextcloud/|/app/www/public/|g" /config/crontabs/root
sed -i "s|/config/www/nextcloud/cron.php|/app/www/public/cron.php|g" /config/crontabs/root
touch /tmp/migration
fi