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

Force symlink creation

This commit is contained in:
Jules Bertholet 2021-03-23 22:58:16 -04:00
parent 562f3f835b
commit 1a123b3de1
2 changed files with 6 additions and 6 deletions

View file

@ -227,9 +227,9 @@ popd || ynh_die
#=================================================
mkdir -p "$final_path/etc/"
ln -s "$final_path/etc/tomcat9" "$final_path/var/lib/tomcat9/conf"
ln -s "/var/log/$app/tomcat/" "$final_path/var/lib/tomcat9/logs"
ln -s "/var/cache/$app-tomcat9" "$final_path/var/lib/tomcat9/work"
ln -s -f "$final_path/etc/tomcat9" "$final_path/var/lib/tomcat9/conf"
ln -s -f "/var/log/$app/tomcat/" "$final_path/var/lib/tomcat9/logs"
ln -s -f "/var/cache/$app-tomcat9" "$final_path/var/lib/tomcat9/work"
#=================================================
# CREATE LOG DIRS

View file

@ -173,9 +173,9 @@ popd || ynh_die
#=================================================
mkdir -p "$final_path/etc/"
ln -s "$final_path/etc/tomcat9" "$final_path/var/lib/tomcat9/conf"
ln -s "/var/log/$app/tomcat/" "$final_path/var/lib/tomcat9/logs"
ln -s "/var/cache/$app-tomcat9" "$final_path/var/lib/tomcat9/work"
ln -s -f "$final_path/etc/tomcat9" "$final_path/var/lib/tomcat9/conf"
ln -s -f "/var/log/$app/tomcat/" "$final_path/var/lib/tomcat9/logs"
ln -s -f "/var/cache/$app-tomcat9" "$final_path/var/lib/tomcat9/work"
#=================================================
# CREATE LOG DIRS