diff options
Diffstat (limited to 'sys/nixpkgs/pkgs/yt/update.sh')
-rwxr-xr-x | sys/nixpkgs/pkgs/yt/update.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/yt/update.sh b/sys/nixpkgs/pkgs/yt/update.sh index 2529167c..2e59aa60 100755 --- a/sys/nixpkgs/pkgs/yt/update.sh +++ b/sys/nixpkgs/pkgs/yt/update.sh @@ -1,6 +1,7 @@ #!/usr/bin/env sh -cargo update && cargo upgrade +cargo update +[ "$1" = "upgrade" ] && cargo upgrade # vim: ft=sh |