|
@@ -58,6 +58,14 @@ chmod 750 "$final_path"
|
|
|
chmod -R o-rwx "$final_path"
|
|
chmod -R o-rwx "$final_path"
|
|
|
chown -R $app:www-data "$final_path"
|
|
chown -R $app:www-data "$final_path"
|
|
|
|
|
|
|
|
|
|
+#=================================================
|
|
|
|
|
+# REMOVE CACHE MAIN DIR
|
|
|
|
|
+#=================================================
|
|
|
|
|
+ynh_script_progression --message="Removing cache main directory..." --weight=1
|
|
|
|
|
+
|
|
|
|
|
+# Remove the app directory securely
|
|
|
|
|
+ynh_secure_remove --file="$final_path/var/cache"
|
|
|
|
|
+
|
|
|
#=================================================
|
|
#=================================================
|
|
|
# REINSTALL DEPENDENCIES
|
|
# REINSTALL DEPENDENCIES
|
|
|
#=================================================
|
|
#=================================================
|