From 6154e76eb608ca8fe3c3036a63292a6cce5bee7d Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Fri, 24 Mar 2023 13:08:00 +0100 Subject: [PATCH] add confirmation step --- rebuild-and-install-all.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rebuild-and-install-all.sh b/rebuild-and-install-all.sh index d959ebe4..eb1b0fef 100755 --- a/rebuild-and-install-all.sh +++ b/rebuild-and-install-all.sh @@ -6,6 +6,9 @@ CAT=${CAT:-$1} cd $WD ./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^${CAT}/.*" +echo "Ctrl-C to stop here, enter to continue" +read + for p in $(./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^${CAT}/.*"); do (cd $p bash -e ./SlackBuild || echo "ERROR $p" >> $WD/_errors_rebuild)