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:
parent
34cd8e1408
commit
ccda7959af
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue