#! /bin/sh CWD=`pwd` for PAK in rox-lib2 rox-clib rox-filer rox-archive rox-mime-editor; do removepkg $PAK if ["$TMP" = ""]; then TMP=/tmp fi cd $CWD/$PAK/*/src sh $PAK.SlackBuild --cleanup 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