1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 00:20:08 +01:00

tweaking scripts

This commit is contained in:
Taylor Otwell
2016-05-10 14:03:38 -05:00
parent dfc8e6eaea
commit fbe5c8b04c
2 changed files with 4 additions and 1 deletions

3
valet
View File

@@ -23,6 +23,9 @@ fi
if [[ "$1" = "install" ]] || [[ "$1" = "domain" ]] || [[ "$1" = "start" ]] || [[ "$1" = "restart" ]] || [[ "$1" = "stop" ]] || [[ "$1" = "uninstall" ]]
then
sudo php "$DIR/cli/valet.php" "$@"
elif [[ "$1" = "update" ]]
then
bash <(curl -s https://raw.githubusercontent.com/laravel/valet/master/update.sh)
elif [[ "$1" = "share" ]]
then
HOST="${PWD##*/}"