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

data_dir not recognised in scripts/config!

This commit is contained in:
dragondaddy 2023-11-14 10:09:22 +01:00
parent eb6ead78c0
commit 6e7a3e553d

View file

@ -75,7 +75,7 @@ set__git_branch_mode() {
ynh_print_info "Switching to \"release\" branch"
(cd "$install_dir" && ynh_exec_as "$app" git checkout release)
ynh_print_info "Full update of the website"
bash $data_dir/daily-update.sh >> $data_dir/daily-updates.log 2>&1
(cd /home/yunohost.app/"$app" && bash daily-update.sh >> daily-updates.log 2>&1)
else
ynh_die --message="\"release\" branch is behind your local \"dev\" branch, rolling back is not allowed here"
exit 1