diff --git a/rebuild-and-install-all.sh b/rebuild-and-install-all.sh index 3047845f..136c2b41 100755 --- a/rebuild-and-install-all.sh +++ b/rebuild-and-install-all.sh @@ -2,10 +2,12 @@ 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 - echo -n "$p : " - ls - ./SlackBuild + bash -e ./SlackBuild cd $WD done