add confirmation step

This commit is contained in:
Gwenhael Le Moine 2023-03-24 13:08:00 +01:00
parent dd4634c622
commit 6154e76eb6
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -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)