about summary refs log tree commit diff stats
path: root/pkgs/by-name/ya/yambar-cpu/update.sh
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-24 14:06:14 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-24 14:06:14 +0200
commit636478286139184ebfa1ffd3610ce0ca482e04fa (patch)
tree45e61147588ca73f0973ab410359f3d7c1f0e3d1 /pkgs/by-name/ya/yambar-cpu/update.sh
parentfix(modules/system/home-manager): Import soispha's hm config (diff)
downloadnixos-config-636478286139184ebfa1ffd3610ce0ca482e04fa.tar.gz
nixos-config-636478286139184ebfa1ffd3610ce0ca482e04fa.zip
feat(pkgs): Pull yambar-{cpu,memory} in tree
Diffstat (limited to '')
-rwxr-xr-xpkgs/by-name/ya/yambar-cpu/update.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/by-name/ya/yambar-cpu/update.sh b/pkgs/by-name/ya/yambar-cpu/update.sh
new file mode 100755
index 00000000..4de6e712
--- /dev/null
+++ b/pkgs/by-name/ya/yambar-cpu/update.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+[ "$1" = "upgrade" ] && cargo upgrade
+
+cargo update
+
+# vim: ft=sh