From b0ac35f289b232951b8bee94253abe46b0ce86ed Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 24 Feb 2024 11:24:32 +0100 Subject: fix(hm/pkgs/fupdate): Don't pass '--' to child command --- hm/soispha/pkgs/scripts/apps/fupdate.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.4.1