diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-08-11 20:26:06 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:57:58 +0700 |
commit | 732cd0cf41ca5e080d8201c244932d24f9d0e8bf (patch) | |
tree | 642d86b5476297f648d20ed393cac8e2d4263fc5 /audio/python-audiotools | |
parent | 36639e7a89817ae30013d82ec1232159a0f70476 (diff) |
audio/python-audiotools: Delete doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/python-audiotools')
-rw-r--r-- | audio/python-audiotools/doinst.sh | 15 | ||||
-rw-r--r-- | audio/python-audiotools/python-audiotools.SlackBuild | 1 |
2 files changed, 0 insertions, 16 deletions
diff --git a/audio/python-audiotools/doinst.sh b/audio/python-audiotools/doinst.sh deleted file mode 100644 index ee19f823a37a7..0000000000000 --- a/audio/python-audiotools/doinst.sh +++ /dev/null @@ -1,15 +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/audiotools.cfg.new - diff --git a/audio/python-audiotools/python-audiotools.SlackBuild b/audio/python-audiotools/python-audiotools.SlackBuild index d43b907df2eca..d5c3532c25b48 100644 --- a/audio/python-audiotools/python-audiotools.SlackBuild +++ b/audio/python-audiotools/python-audiotools.SlackBuild @@ -89,7 +89,6 @@ cp -a COPYING INSTALL TODO $PKG/usr/doc/$PRGNAM-$VERSION 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} |