summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-06-10 17:07:49 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-14 07:55:26 +0700
commit9172564781caab0d83303808848adcb11cae977c (patch)
tree9fa2f725d5907bd5d4291eaf3207386030fd431a /desktop
parentccafe5f3cd58faf58b85d6de41bdbba6e24d7e01 (diff)
downloadslackbuilds-9172564781caab0d83303808848adcb11cae977c.tar.gz
desktop/sun: Updated for version 1.1.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/sun/doinst.sh12
-rw-r--r--desktop/sun/sun.SlackBuild2
-rw-r--r--desktop/sun/sun.info6
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=""