about summary refs log tree commit diff stats
path: root/pkgs/by-name/ya
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-24 18:11:42 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-24 18:11:42 +0200
commit16ed3778ab53fb7d274bed4e428fecaa5c5c5f5b (patch)
treea4cc5d24151f3f499de310cdc8334eae36f01615 /pkgs/by-name/ya
parentfix(pkgs/by-name/{tr,ya}): Move away from `crane.lib.${system}` (diff)
downloadnixos-config-16ed3778ab53fb7d274bed4e428fecaa5c5c5f5b.tar.gz
nixos-config-16ed3778ab53fb7d274bed4e428fecaa5c5c5f5b.zip
fix(pkgs/update.sh): Update to the new `by-name` convention
Diffstat (limited to '')
-rwxr-xr-xpkgs/by-name/ya/yambar-cpu/update.sh2
-rwxr-xr-xpkgs/by-name/ya/yambar-memory/update.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ya/yambar-cpu/update.sh b/pkgs/by-name/ya/yambar-cpu/update.sh
index 4de6e712..407a2f60 100755
--- a/pkgs/by-name/ya/yambar-cpu/update.sh
+++ b/pkgs/by-name/ya/yambar-cpu/update.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env sh
 
-[ "$1" = "upgrade" ] && cargo upgrade
 
+[ "$1" = "upgrade" ] && cargo upgrade
 cargo update
 
 # vim: ft=sh
diff --git a/pkgs/by-name/ya/yambar-memory/update.sh b/pkgs/by-name/ya/yambar-memory/update.sh
index 4de6e712..407a2f60 100755
--- a/pkgs/by-name/ya/yambar-memory/update.sh
+++ b/pkgs/by-name/ya/yambar-memory/update.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env sh
 
-[ "$1" = "upgrade" ] && cargo upgrade
 
+[ "$1" = "upgrade" ] && cargo upgrade
 cargo update
 
 # vim: ft=sh