slackbuilds/rebuild-and-install-all.sh
Gwenhael Le Moine 42c4947468
++
2024-11-27 10:40:55 +01:00

15 lines
368 B
Bash
Executable file

#!/bin/bash
WD=/home/installs/SlackBuilds
CAT=${CAT:-$1}
cd $WD
./what-s_installed.sh | grep "^| x .*" | cut -d\ -f2 | grep "^${CAT}/.*"
echo "Ctrl-C to stop here, enter to continue"
read
for p in $(./what-s_installed.sh | grep "^| x .*" | cut -d\ -f2 | grep "^${CAT}/.*"); do
(cd $p
bash -e ./SlackBuild || echo "ERROR $p" >> $WD/_errors_rebuild)
done