fix(core): Updating extensions with public folders would remove all folders in public/extensions/.

This commit is contained in:
purple 2023-10-10 20:35:56 +02:00
parent 09d7e21fb1
commit 9a693b571b

View file

@ -414,7 +414,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
log_bright "[INFO] Cleaning up old extension files.." log_bright "[INFO] Cleaning up old extension files.."
if [[ $old_data_public != "" ]]; then if [[ $old_data_public != "" ]]; then
# Clean up old public folder. # Clean up old public folder.
rm -R public/extensions/$old_identifier/* rm -R public/extensions/$identifier/*
fi fi
fi fi