1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/streams_ynh.git synced 2024-09-03 20:26:20 +02:00

Simpler approach of the Code to src transition

This commit is contained in:
dragondaddy 2024-03-14 14:58:23 +01:00
parent 38478cbc07
commit 8428112b0d

View file

@ -136,7 +136,7 @@ ynh_script_progression --message="Setuping cron job..." --weight=1
# Check for renaming of 'Code' folder to 'src'
if [ -d /var/www/__APP__/src ]
then
sed "/finished/ i\# 'Code' folder was renamed 'src'\nsed -i \'s\/Code\/src\/\' \/etc\/cron.d\/__APP__" conf/daily-update.sh
sed -i 's/Code/src/' ../conf/cronjobs
fi
# Set up cron job