summaryrefslogtreecommitdiff
path: root/libraries/allegro
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-08-09 22:43:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:57:49 +0700
commit8eee5fba1b98343c1b82d5c41752a03d235ba6a2 (patch)
tree2d09ee133fd879ac74e1bdf1cd5ff9faf1a9c986 /libraries/allegro
parent19d4e831bf996c3b179592fe75e66bd79f053c5e (diff)
downloadslackbuilds-8eee5fba1b98343c1b82d5c41752a03d235ba6a2.tar.gz
libraries/allegro: Deleted doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/allegro')
-rw-r--r--libraries/allegro/allegro.SlackBuild1
-rw-r--r--libraries/allegro/doinst.sh14
2 files changed, 0 insertions, 15 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index b8e70d4402..1611edfc13 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -94,7 +94,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/allegro/doinst.sh b/libraries/allegro/doinst.sh
deleted file mode 100644
index 5e444b85f3..0000000000
--- a/libraries/allegro/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/allegro.cfg.new