summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=""