mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
Updation from previous version fix
This commit is contained in:
parent
ecfe97272d
commit
0a7fcb672d
1 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,9 @@ tmpdir="$(mktemp -d)"
|
|||
cp -af "$final_path/.htaccess" "$tmpdir/."
|
||||
sudo mkdir -p "$tmpdir/view"
|
||||
cp -af "$final_path/view/smarty3" "$tmpdir/view/."
|
||||
rm -Rf "$final_path"
|
||||
if [ -f $final_path/.htconfig.php ]; then
|
||||
rm "$final_path/.htconfig.php"
|
||||
fi
|
||||
# If final_path doesn't exist, create it
|
||||
if [ -z $final_path ]; then
|
||||
final_path=/var/www/$app
|
||||
|
|
Loading…
Reference in a new issue