fix(core): Updating extensions with public folders would remove all folders in public/extensions/.
This commit is contained in:
parent
09d7e21fb1
commit
9a693b571b
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
|
|||
log_bright "[INFO] Cleaning up old extension files.."
|
||||
if [[ $old_data_public != "" ]]; then
|
||||
# Clean up old public folder.
|
||||
rm -R public/extensions/$old_identifier/*
|
||||
rm -R public/extensions/$identifier/*
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue