diff --git a/scripts/install.sh b/scripts/install.sh index 7d904d4..0372cf7 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -12,7 +12,6 @@ die() { [[ $EUID -ne 0 ]] && die "root is required to install on a system" # parse args -POSITIONAL_ARGS=() while [[ $# -gt 0 ]]; do case $1 in -c|--nixos-config) @@ -25,10 +24,6 @@ while [[ $# -gt 0 ]]; do shift # past argument shift # past value ;; - *) - POSITIONAL_ARGS+=("$1") # save positional arg - shift # past argument - ;; esac done