summaryrefslogtreecommitdiff
path: root/desktop/sun
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-06-23 02:45:59 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-28 11:49:14 +0700
commitae3c03bb1bb49cb50fdfcfd6a9839cd14466337f (patch)
treedb960f45c1ff0ce162ab5993e656ac69ddfd8712 /desktop/sun
parent8afd909079bc47d9679bf4496cf143e7c7a6db37 (diff)
downloadslackbuilds-ae3c03bb1bb49cb50fdfcfd6a9839cd14466337f.tar.gz
desktop/sun: Update script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop/sun')
-rw-r--r--desktop/sun/sun.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/sun/sun.SlackBuild b/desktop/sun/sun.SlackBuild
index 727fbbc0f5..a6cf5ecd60 100644
--- a/desktop/sun/sun.SlackBuild
+++ b/desktop/sun/sun.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=sun
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -82,7 +82,7 @@ mkdir -p $PKG/etc/$PRGNAM $PKG/etc/rc.d/
install -D -m0644 conf/${PRGNAM}.conf $PKG/etc/$PRGNAM/${PRGNAM}.conf.new
install -D -m0644 conf/mirrors $PKG/etc/$PRGNAM/mirrors
# install rc file
-install -D -m0644 conf/rc.${PRGNAM} $PKG/etc/rc.d/rc.${PRGNAM}
+install -D -m0644 conf/rc.${PRGNAM} $PKG/etc/rc.d/rc.${PRGNAM}.new
# install notify icon and .desktop file
mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications