about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/scripts/source/apps
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-24 15:03:09 +0100
committerSoispha <soispha@vhack.eu>2024-02-24 15:04:53 +0100
commit5499dc1e644096b94f579c758998a8b0c48e62e7 (patch)
tree0310c13139d174fa53d3c5605a99120bbe61f078 /sys/nixpkgs/pkgs/scripts/source/apps
parentbuild(flake): Readd flake_version_update (diff)
downloadnixos-config-5499dc1e644096b94f579c758998a8b0c48e62e7.tar.gz
nixos-config-5499dc1e644096b94f579c758998a8b0c48e62e7.zip
style(sys/nixpkgs/pkgs/scripts/fupdate): Format
Diffstat (limited to '')
-rwxr-xr-xsys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh8
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