diff --git a/scripts/upgrade b/scripts/upgrade index f23369d..efa4132 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -16,6 +16,7 @@ path=${path%/} final_path=/var/www/$app sudo mkdir -p $final_path sudo cp -a ../sources/* $final_path +sudo find $final_path -type f -name ".htaccess" | xargs sudo rm sudo chown -R root: $final_path sudo chown -R www-data: $final_path/data