fix: removes the laravel binary even when php is already gone
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
456af5cc88
commit
486e1cab9b
1 file changed
+3
@@ -52,6 +52,9 @@ php)
|
||||
laravel)
|
||||
echo -e "Removing Laravel...\n"
|
||||
mise x php -- composer global remove laravel/installer 2>/dev/null || true
|
||||
|
||||
# Composer cannot run once PHP is gone, so drop the installer binary directly (new and old bin-dir)
|
||||
rm -f "$HOME/.local/bin/laravel" "$HOME/.config/composer/vendor/bin/laravel"
|
||||
;;
|
||||
symfony)
|
||||
echo -e "Removing Symfony CLI...\n"
|
||||
|
||||
Reference in new issue
Block a user