summaryrefslogtreecommitdiff
path: root/system/openrc-services/openrc-services.SlackBuild
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2017-05-17 22:44:51 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-20 06:54:11 +0700
commit9a5269548acb85ed370ef29c68131053e49cfcf3 (patch)
tree795d41c73ff7c73e8ff5112f3398be584f2b7a27 /system/openrc-services/openrc-services.SlackBuild
parentcaec6497dc2c0e8a2b04453f5aa1268c1fc925b1 (diff)
downloadslackbuilds-9a5269548acb85ed370ef29c68131053e49cfcf3.tar.gz
system/openrc-services: Updated for version 20170517.
Diffstat (limited to 'system/openrc-services/openrc-services.SlackBuild')
-rw-r--r--system/openrc-services/openrc-services.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild
index 74b9fdf4b0..c67437465a 100644
--- a/system/openrc-services/openrc-services.SlackBuild
+++ b/system/openrc-services/openrc-services.SlackBuild
@@ -24,12 +24,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openrc-services
-VERSION=${VERSION:-20170312}
+VERSION=${VERSION:-20170517}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
_GITNAM=aadityabagga-${PRGNAM}-ng
-_GITVER=69fadb570699
+_GITVER=769173b8ec73
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -64,8 +64,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $_GITNAM-$_GITVER
-[ -e $CWD/$VERSION.tar.gz ] && tar xvf $CWD/$VERSION.tar.gz
-[ -e $CWD/$_GITNAM-$_GITVER.tar.gz ] && tar xvf $CWD/$_GITNAM-$_GITVER.tar.gz
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$_GITNAM-$_GITVER.tar.gz
cd $_GITNAM-$_GITVER
chown -R root:root .
find -L . \
@@ -85,7 +84,6 @@ install -Dm 755 misc/local.d/rcd_net.start "$PKG/etc/local.d/rcd_net.start"
install -d "$PKG/etc/runlevels/sysinit"
ln -sf /etc/init.d/udev "$PKG/etc/runlevels/sysinit/udev"
ln -sf /etc/init.d/udev-trigger "$PKG/etc/runlevels/sysinit/udev-trigger"
-ln -sf /etc/init.d/kmod-static-nodes "$PKG/etc/runlevels/sysinit/kmod-static-nodes"
# Backup config files
for file in $PKG/etc/conf.d/*; do