#! /bin/bash CWD1=`pwd` #CWD=`pwd` PAK0="libggz" PAK1="ggz-client-libs" PAK2="ggz-gtk-client" PAK3="ggz-gtk-games" PAK4="ggz-kde-client" PAK5="ggz-kde-games" PAK6="ggz-txt-client" PAK7="ggz-sdl-games" PAK8="ggz-utils" PAK9="ggz-docs" PAK10="ggz-grubby" PAK11="ggz-server" if ["$TMP" = ""]; then TMP=/tmp fi cd $CWD1/$PAK0* ./$PAK0.SlackBuild --cleanup cd $TMP if [ ! -f $PAK0*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK0" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK0*.tgz cd $CWD1/$PAK1* ./$PAK1.SlackBuild --cleanup cd $TMP if [ ! -f $PAK1*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK1" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK1*.tgz cd $CWD1/$PAK2* ./$PAK2.SlackBuild --cleanup cd $TMP if [ ! -f $PAK2*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK2" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK2*.tgz cd $CWD1/$PAK3* ./$PAK3.SlackBuild --cleanup cd $TMP if [ ! -f $PAK3*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK3" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK3*.tgz cd $CWD1/$PAK4* ./$PAK4.SlackBuild --cleanup cd $TMP if [ ! -f $PAK4*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK4" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK4*.tgz cd $CWD1/$PAK5* ./$PAK5.SlackBuild --cleanup cd $TMP if [ ! -f $PAK5*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK5" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK5*.tgz cd $CWD1/$PAK6* ./$PAK6.SlackBuild --cleanup cd $TMP if [ ! -f $PAK6*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK6" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK6*.tgz cd $CWD1/$PAK7* ./$PAK7.SlackBuild --cleanup cd $TMP if [ ! -f $PAK7*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK7" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK7*.tgz cd $CWD1/$PAK8* ./$PAK8.SlackBuild --cleanup cd $TMP if [ ! -f $PAK8*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK8" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK8*.tgz cd $CWD1/$PAK9* ./$PAK9.SlackBuild --cleanup cd $TMP if [ ! -f $PAK9*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK9" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK9*.tgz cd $CWD1/$PAK10* ./$PAK10.SlackBuild --cleanup cd $TMP if [ ! -f $PAK10*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK10" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK10*.tgz cd $CWD1/$PAK11* ./$PAK11.SlackBuild --cleanup cd $TMP if [ ! -f $PAK11*.tgz ]; then echo "+---------ERROR---------+" echo "| package $PAK11" echo "| does not exist " echo "+-----------------------+" exit fi installpkg $PAK11*.tgz