mirror of
https://github.com/YunoHost-Apps/metabase_ynh.git
synced 2024-09-03 19:46:00 +02:00
Update upgrade
This commit is contained in:
parent
b52d5dcaa1
commit
283018d534
1 changed files with 6 additions and 6 deletions
|
@ -94,7 +94,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path"
|
ynh_setup_source --dest_dir="$final_path" --keep="/etc/default/$app"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
@ -127,13 +127,13 @@ ynh_add_systemd_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP CONFIG
|
# SETUP CONFIG
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
# ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
touch /etc/default/$app
|
# touch /etc/default/$app
|
||||||
ynh_add_config --template="../conf/metabase" --destination="/etc/default/$app"
|
# ynh_add_config --template="../conf/metabase" --destination="/etc/default/$app"
|
||||||
|
|
||||||
chmod 640 "/etc/default/$app"
|
# chmod 640 "/etc/default/$app"
|
||||||
chown $app "/etc/default/$app"
|
# chown $app "/etc/default/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# HANDLE LOG FILES AND LOGROTATE
|
# HANDLE LOG FILES AND LOGROTATE
|
||||||
|
|
Loading…
Add table
Reference in a new issue