diff options
Diffstat (limited to 'macos.local/.flake/home/scripts/test.sh')
-rw-r--r-- | macos.local/.flake/home/scripts/test.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/macos.local/.flake/home/scripts/test.sh b/macos.local/.flake/home/scripts/test.sh deleted file mode 100644 index 084b317..0000000 --- a/macos.local/.flake/home/scripts/test.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -usage () -{ - echo "Usage: $0 [-u/-i]" -} - -dir="$pwd" -cd ~/.dotfiles || exit 1 - -while getopts ":hui" arg; do - case "$arg" in - h) - usage - cd "$dir" || exit 1 - exit 0 - ;; - u) - make update - cd "$dir" || exit 1 - exit 0 - ;; - i) - make install - cd "$dir" || exit 1 - exit 0 - ;; - *) - cd "$dir" || exit 1 - exit 1 - ;; - esac -done |