fix?
This commit is contained in:
parent
00c368e282
commit
327924bc38
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue