fix core: Routes were not unlinked correctly upon extension removal

This commit is contained in:
prplwtf 2024-04-15 17:39:49 +02:00
parent 4920b24fa8
commit b3c80022f5

View file

@ -1666,9 +1666,9 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y"
PRINT INFO "Removing and unlinking router files.."
rm -r \
".blueprint/extensions/$identifier/routers" \
"routes/blueprint/application/$identifier" \
"routes/blueprint/client/$identifier" \
"routes/blueprint/web/$identifier" \
"routes/blueprint/application/$identifier.php" \
"routes/blueprint/client/$identifier.php" \
"routes/blueprint/web/$identifier.php" \
&>> $BLUEPRINT__DEBUG
fi