#! /bin/sh CWD=`pwd` PAK1="libgii" PAK2="libggi" PAK3="libggigcp" PAK4="libggimisc" PAK5="libggiwmh" PAK6="libgiigic" removepkg $PAK1 removepkg $PAK2 removepkg $PAK3 removepkg $PAK4 removepkg $PAK5 removepkg $PAK6 if ["$TMP" = ""]; then TMP=/tmp fi cd $CWD/$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 $CWD/$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 $CWD/$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 $CWD/$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 $CWD/$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 $CWD/$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