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:
parent
38478cbc07
commit
8428112b0d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue