From 3f9eb644112bb08af8418a2c99c16b8876d29bcd Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Sun, 10 May 2015 14:34:13 +0530 Subject: system/xfsudo: Updated for version 0.6.1. --- system/xfsudo/doinst.sh | 14 -------------- system/xfsudo/xfsudo.SlackBuild | 6 +----- system/xfsudo/xfsudo.info | 6 +++--- 3 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 system/xfsudo/doinst.sh (limited to 'system/xfsudo') diff --git a/system/xfsudo/doinst.sh b/system/xfsudo/doinst.sh deleted file mode 100644 index de85fd01cc..0000000000 --- a/system/xfsudo/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/xfsudo.conf.new diff --git a/system/xfsudo/xfsudo.SlackBuild b/system/xfsudo/xfsudo.SlackBuild index fe0ae2f196..38b96ddd2a 100644 --- a/system/xfsudo/xfsudo.SlackBuild +++ b/system/xfsudo/xfsudo.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xfsudo -VERSION=${VERSION:-0.5.1} +VERSION=${VERSION:-0.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,9 +55,6 @@ find -L . \ make install DESTDIR=$PKG -# Preserve config file -mv $PKG/etc/xfsudo.conf $PKG/etc/xfsudo.conf.new - find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done @@ -66,7 +63,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/system/xfsudo/xfsudo.info b/system/xfsudo/xfsudo.info index 9e9920e5f5..d454e23f99 100644 --- a/system/xfsudo/xfsudo.info +++ b/system/xfsudo/xfsudo.info @@ -1,8 +1,8 @@ PRGNAM="xfsudo" -VERSION="0.5.1" +VERSION="0.6.1" HOMEPAGE="http://github.com/aadityabagga/xfsudo" -DOWNLOAD="http://github.com/aadityabagga/xfsudo/archive/0.5.1.tar.gz" -MD5SUM="7932b1ee6afee3aa3a13afb9987f839d" +DOWNLOAD="http://github.com/aadityabagga/xfsudo/archive/0.6.1.tar.gz" +MD5SUM="a45e2909dda1995ce329acd6bbf4ea3e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="zenity" -- cgit v1.2.3