diff options
Diffstat (limited to 'sys/nixpkgs/pkgs/comments')
-rwxr-xr-x | sys/nixpkgs/pkgs/comments/update.sh | 3 |
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 |