From b5c3be8eb5a21bd76173860de8e37c705563ca74 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 3 May 2021 08:14:46 +0200 Subject: update-packages: only update commit file and package list if commit changed --- update-packages | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-packages b/update-packages index 3df1022..090259a 100755 --- a/update-packages +++ b/update-packages @@ -16,9 +16,9 @@ if [ $# -eq 0 ]; then p ' \ | parallel -j50 "$0" + "${0%/*}/package-status" > "${0%/*}/packages" + echo "$commit" > "$0.commit" fi - "${0%/*}/package-status" > "${0%/*}/packages" - echo "$commit" > "$0.commit" rm "$0.lock" exit fi -- cgit v1.2.3-54-g00ecf