#! /bin/sh CWD=`pwd` for PAK in compiz-bcop libcompizconfig compizconfig-python ccsm simple-ccsm compiz-plugins-main compiz-plugins-extra compiz-plugins-unsupported compizconfig-backend-kconfig4 emerald emerald-themes fusion-icon; do removepkg $PAK if ["$TMP" = ""]; then TMP=/tmp fi cd $CWD/$PAK sh $PAK.SlackBuild --cleanup cd $CWD/$PAK if [ ! -f $PAK*.txz ]; then echo "+---------ERROR----------+" echo "| package $PAK |" echo "| does not exist |" echo "+------------------------+" exit fi installpkg $PAK*.txz mv $PAK*.txz $CWD/../ done