From ba72754b61dfb447d0031e6608920059bb571553 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 Jan 2024 20:58:58 +0100 Subject: fix(sys/nixpkgs/update_pkgs): Allow to hide expansive updates behind flag --- sys/nixpkgs/pkgs/comments/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/nixpkgs/pkgs/comments/update.sh') 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 -- cgit 1.4.1