diff options
author | Soispha <soispha@vhack.eu> | 2024-02-24 11:24:32 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-24 11:25:16 +0100 |
commit | b0ac35f289b232951b8bee94253abe46b0ce86ed (patch) | |
tree | 7b28be1fb76fa9f0cfd8d0f718440010e98df356 | |
parent | feat(hm/pkgs/fupdate): Allow passing arguments to the update script (diff) | |
download | nixos-config-b0ac35f289b232951b8bee94253abe46b0ce86ed.tar.gz nixos-config-b0ac35f289b232951b8bee94253abe46b0ce86ed.zip |
fix(hm/pkgs/fupdate): Don't pass '--' to child command
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/pkgs/scripts/apps/fupdate.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hm/soispha/pkgs/scripts/apps/fupdate.sh b/hm/soispha/pkgs/scripts/apps/fupdate.sh index afc3ab13..0032be4b 100755 --- a/hm/soispha/pkgs/scripts/apps/fupdate.sh +++ b/hm/soispha/pkgs/scripts/apps/fupdate.sh @@ -151,11 +151,13 @@ done case "$1" in "flake") shift 1 + [ "$1" = "--" ] && shift 1; main "$@" ;; *) command="$1" shift 1 + [ "$1" = "--" ] && shift 1; if which update-"$command" >/dev/null 2>&1; then update-"$command" "$@" else |