1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

Do not remove sources while upgrade

This commit is contained in:
anmol26s 2018-06-19 01:46:17 +05:30
parent 34cd8e1408
commit ccda7959af

View file

@ -41,9 +41,6 @@ tmpdir="$(mktemp -d)"
# Backup the config file in the temp dir
cp -a "$final_path/.htconfig.php" "$tmpdir/.htconfig.php"
# Remove the app directory securely
ynh_secure_remove "$final_path"
# If final_path doesn't exist, create it
if [ -z $final_path ]; then
final_path=/var/www/$app