about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/comments
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nixpkgs/pkgs/comments')
-rwxr-xr-xsys/nixpkgs/pkgs/comments/update.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/comments/update.sh b/sys/nixpkgs/pkgs/comments/update.sh
index 2529167c..26a7aeac 100755
--- a/sys/nixpkgs/pkgs/comments/update.sh
+++ b/sys/nixpkgs/pkgs/comments/update.sh
@@ -1,6 +1,7 @@
 #!/usr/bin/env sh
 
-cargo update && cargo upgrade
+cargo update
 
+[ "$1" = "upgrade" ] && cargo upgrade
 
 # vim: ft=sh