From 327924bc38027c29de9cf1ab9c1f5d26eef8965c Mon Sep 17 00:00:00 2001 From: min Date: Fri, 27 Dec 2024 17:59:51 -0500 Subject: [PATCH] fix? --- scripts/install.sh | 5 ----- 1 file changed, 5 deletions(-) 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