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

fix parameter error

This commit is contained in:
Tobias Ollive 2021-12-30 08:52:53 +01:00
parent db4a443da8
commit 13e0607419

View file

@ -105,9 +105,11 @@ fi
#=================================================
# CHANGE SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Updating systemd configuration..." --weight=1
if [ $change_path -eq 1 ]
then
ynh_replace_string --match-string=$old_path --replace-string=$new_path --target-file="/etc/systemd/system/$app.service"
ynh_replace_string --match_string=$old_path --replace_string=$new_path --target_file="/etc/systemd/system/$app.service"
fi
#=================================================