about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/generate_moz_extension/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nixpkgs/pkgs/generate_moz_extension/update.sh')
-rwxr-xr-xsys/nixpkgs/pkgs/generate_moz_extension/update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/generate_moz_extension/update.sh b/sys/nixpkgs/pkgs/generate_moz_extension/update.sh
new file mode 100755
index 00000000..c678b421
--- /dev/null
+++ b/sys/nixpkgs/pkgs/generate_moz_extension/update.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+
+cargo update
+[ "$1" = "upgrade" ] && cargo upgrade
+
+# vim: ft=sh