From 740ef082972a0d57d38ce8dbae3d5c53470bcc06 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Wed, 7 Mar 2018 14:38:18 -0800 Subject: [PATCH] add atlas to blacklist, fail for equal hashes for now --- up.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/up.sh b/up.sh index 467b4d4..09cb953 100755 --- a/up.sh +++ b/up.sh @@ -11,7 +11,8 @@ BRANCH_NAME="auto-update/$1" # Package blacklist case "$PACKAGE_NAME" in - *jquery*) false; + *jquery*) false;; # this isn't a real package + *atlas*) false;; # super slow to build esac DERIVATION_FILE=$(find . | grep "/$1/default.nix" | head -n1) @@ -52,7 +53,7 @@ if [ "$OLD_HASH" = "$NEW_HASH" ] then echo "Hashes equal; no update necessary" - exit 0 + exit 1 fi sed -i "s/$OLD_HASH/$NEW_HASH/g" "$DERIVATION_FILE"