#! /bin/sh CWD=`pwd` for PAK in beryl-core aquamarine beryl-manager beryl-plugins beryl-plugins-unsupported beryl-settings-bindings beryl-settings beryl-settings-simple emerald emerald-themes; do removepkg $PAK if ["$TMP" = ""]; then TMP=/tmp fi cd $CWD/$PAK sh $PAK.SlackBuild --cleanup cd $TMP if [ ! -f $PAK*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK*.tgz mv $PAK*.tgz $CWD/../ done