2022-03-01 14:36:19 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
WD=/home/installs/SlackBuilds
|
|
|
|
CAT=${CAT:-$1}
|
2022-03-01 15:25:33 +01:00
|
|
|
|
|
|
|
cd $WD
|
2024-11-27 10:40:55 +01:00
|
|
|
./what-s_installed.sh | grep "^| x .*" | cut -d\ -f2 | grep "^${CAT}/.*"
|
2022-03-01 15:25:33 +01:00
|
|
|
|
2023-03-24 13:08:00 +01:00
|
|
|
echo "Ctrl-C to stop here, enter to continue"
|
|
|
|
read
|
|
|
|
|
2024-11-27 10:40:55 +01:00
|
|
|
for p in $(./what-s_installed.sh | grep "^| x .*" | cut -d\ -f2 | grep "^${CAT}/.*"); do
|
2022-03-03 10:28:31 +01:00
|
|
|
(cd $p
|
|
|
|
bash -e ./SlackBuild || echo "ERROR $p" >> $WD/_errors_rebuild)
|
2022-03-01 14:36:19 +01:00
|
|
|
done
|