From 9172564781caab0d83303808848adcb11cae977c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 10 Jun 2015 17:07:49 +0300 Subject: desktop/sun: Updated for version 1.1.0. Signed-off-by: Dimitris Zlatanidis --- desktop/sun/doinst.sh | 12 ++++++++++++ desktop/sun/sun.SlackBuild | 2 +- desktop/sun/sun.info | 6 +++--- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/desktop/sun/doinst.sh b/desktop/sun/doinst.sh index 5dc84af9c0..6f22daeee7 100644 --- a/desktop/sun/doinst.sh +++ b/desktop/sun/doinst.sh @@ -8,6 +8,18 @@ config() { fi } +preserve_perms() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + if [ -e $OLD ]; then + cp -a $OLD ${NEW}.incoming + cat $NEW > ${NEW}.incoming + mv ${NEW}.incoming $NEW + fi + config $NEW +} + +preserve_perms etc/rc.d/rc.sun.new config etc/sun/sun.conf.new if [ -x /usr/bin/update-desktop-database ]; then diff --git a/desktop/sun/sun.SlackBuild b/desktop/sun/sun.SlackBuild index 38ddf71f9c..727fbbc0f5 100644 --- a/desktop/sun/sun.SlackBuild +++ b/desktop/sun/sun.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sun -VERSION=${VERSION:-1.0.9} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/desktop/sun/sun.info b/desktop/sun/sun.info index 24d91005bd..33b6f7d8f3 100644 --- a/desktop/sun/sun.info +++ b/desktop/sun/sun.info @@ -1,8 +1,8 @@ PRGNAM="sun" -VERSION="1.0.9" +VERSION="1.1.0" HOMEPAGE="https://github.com/dslackw/sun" -DOWNLOAD="https://github.com/dslackw/sun/archive/v1.0.9.tar.gz" -MD5SUM="02158cec051f9cb11afe55b32f76d2d0" +DOWNLOAD="http://sourceforge.net/projects/slackwareupdatenotifier/files/sun-1.1.0/sun-1.1.0.tar.gz" +MD5SUM="d6fb95502a4e9fbe7fc43b3f74ed656c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3