diff options
author | Soispha <soispha@vhack.eu> | 2024-02-24 15:03:09 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-24 15:04:53 +0100 |
commit | 5499dc1e644096b94f579c758998a8b0c48e62e7 (patch) | |
tree | 0310c13139d174fa53d3c5605a99120bbe61f078 /sys/nixpkgs/pkgs/scripts/source/apps | |
parent | build(flake): Readd flake_version_update (diff) | |
download | nixos-config-5499dc1e644096b94f579c758998a8b0c48e62e7.tar.gz nixos-config-5499dc1e644096b94f579c758998a8b0c48e62e7.zip |
style(sys/nixpkgs/pkgs/scripts/fupdate): Format
Diffstat (limited to '')
-rwxr-xr-x | sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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 |