summaryrefslogtreecommitdiff
path: root/games/foobillard/foobillard.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/foobillard/foobillard.SlackBuild')
-rw-r--r--games/foobillard/foobillard.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/games/foobillard/foobillard.SlackBuild b/games/foobillard/foobillard.SlackBuild
index 26840a4d0f..f2ed37fa24 100644
--- a/games/foobillard/foobillard.SlackBuild
+++ b/games/foobillard/foobillard.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for FooBillard
-# Copyright 2007 MagicMan <MagicMan07@bluebottle.com>
+# Copyright 2007 Frank Caraballo <fecaraballo[AT]gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,6 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-if [ "$(id -u)" != "0" ]; then
- echo "This script must be run as root!"
- exit 1
-fi
-
PRGNAM=foobillard
VERSION=3.0a
ARCH=${ARCH:-i486}
@@ -51,7 +46,6 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xvf $CWD/$PRGNAM-$VERSION.tar.* || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -72,7 +66,7 @@ cp -a $PRGNAM.6 $PKG/usr/man/man6
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION