mirror of
https://github.com/YunoHost-Apps/droppy_ynh.git
synced 2024-09-03 18:26:27 +02:00
Update upgrade
This commit is contained in:
parent
30bec82760
commit
b3a6efa731
1 changed files with 0 additions and 13 deletions
|
@ -78,9 +78,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=10
|
ynh_script_progression --message="Upgrading source files..." --weight=10
|
||||||
|
|
||||||
# Remove the app directory securely
|
|
||||||
#ynh_secure_remove --file=$final_path
|
|
||||||
|
|
||||||
# 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 --keep="$final_path/config/config.json"
|
ynh_setup_source --dest_dir=$final_path --keep="$final_path/config/config.json"
|
||||||
fi
|
fi
|
||||||
|
@ -117,16 +114,6 @@ then
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# MODIFY A CONFIG FILE
|
|
||||||
#=================================================
|
|
||||||
#ynh_script_progression --message="Modifying a config file..." --weight=2
|
|
||||||
|
|
||||||
# ynh_add_config --template="../conf/config.json.example" --destination="$final_path/config/config.json"
|
|
||||||
|
|
||||||
# chmod 600 "$final_path/config/config.json"
|
|
||||||
# chown $app:$app "$final_path/config/config.json"
|
|
||||||
|
|
||||||
chmod 755 "$final_path"
|
chmod 755 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app: "$final_path"
|
chown -R $app: "$final_path"
|
||||||
|
|
Loading…
Reference in a new issue