mirror of
https://github.com/YunoHost-Apps/fider_ynh.git
synced 2024-09-03 18:36:11 +02:00
Install in /var/www
This commit is contained in:
parent
df31389e04
commit
aae5bc4571
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,12 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
# Moved fron /opt to /var/www
|
||||||
|
if [ -d "/opt/yunohost/$app" ]; then
|
||||||
|
rm -rf "$final_path"
|
||||||
|
mv "/opt/yunohost/$app" "$final_path"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue