slackbuilds/rebuild-and-install-all.sh
Gwenhael Le Moine b0294e1fde
-e
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2022-03-01 15:25:33 +01:00

13 lines
280 B
Bash
Executable file

#!/bin/bash
WD=/home/installs/SlackBuilds
CAT=${CAT:-$1}
cd $WD
./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^$CAT.*"
for p in $(./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^$CAT.*"); do
cd $p
bash -e ./SlackBuild
cd $WD
done