1
0
Fork 0
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:
anmol26s 2018-09-28 21:28:22 +05:30
parent ecfe97272d
commit 0a7fcb672d

View file

@ -47,7 +47,9 @@ tmpdir="$(mktemp -d)"
cp -af "$final_path/.htaccess" "$tmpdir/." cp -af "$final_path/.htaccess" "$tmpdir/."
sudo mkdir -p "$tmpdir/view" sudo mkdir -p "$tmpdir/view"
cp -af "$final_path/view/smarty3" "$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 final_path doesn't exist, create it
if [ -z $final_path ]; then if [ -z $final_path ]; then
final_path=/var/www/$app final_path=/var/www/$app