From 5499dc1e644096b94f579c758998a8b0c48e62e7 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 24 Feb 2024 15:03:09 +0100 Subject: style(sys/nixpkgs/pkgs/scripts/fupdate): Format --- sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/nixpkgs/pkgs/scripts/source/apps') diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh index 0032be4b..572299ea 100755 --- a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh +++ b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh @@ -72,7 +72,7 @@ ask_to_allow_update_script() { update() { update_script="$1" flake_base_dir="$2" - shift 2; + shift 2 dbg "Provided following args to update script: '$*'" dbg "changed directory to: $flake_base_dir" @@ -151,15 +151,15 @@ done case "$1" in "flake") shift 1 - [ "$1" = "--" ] && shift 1; + [ "$1" = "--" ] && shift 1 main "$@" ;; *) command="$1" shift 1 - [ "$1" = "--" ] && shift 1; + [ "$1" = "--" ] && shift 1 if which update-"$command" >/dev/null 2>&1; then - update-"$command" "$@" + update-"$command" "$@" else die "command \"update-$command\" is not executable, or does not exist" fi -- cgit 1.4.1