summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Greg' Ar Tourter2017-06-03 15:08:50 +0200
committer Willy Sudiarto Raharjo2017-06-06 02:56:28 +0200
commit796c859cddc83fec0fd1a2a44d41c7d830718d51 (patch)
tree811bd62558cbe8fdc8ed08348a41c285e3470c4c
parent050e35536e25ea1f063c9814cf27b68283e8355f (diff)
downloadslackbuilds-796c859cddc83fec0fd1a2a44d41c7d830718d51.tar.gz
system/apcupsd: Update build script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/apcupsd/apcupsd.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/system/apcupsd/apcupsd.SlackBuild b/system/apcupsd/apcupsd.SlackBuild
index 4a64e47297..080d77ca6f 100644
--- a/system/apcupsd/apcupsd.SlackBuild
+++ b/system/apcupsd/apcupsd.SlackBuild
@@ -72,11 +72,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Make sure /var/lock exists - create it in the rc.apcupsd
-patch -p1 < $CWD/patches/create_lockdir_in_init_script.diff
-
# Fixup up a couple of nitpicks in the init script
-patch -p1 < $CWD/patches/nitpicky-fixes-to-init-script.diff
+patch -p1 < $CWD/patches/init-script-fixups.diff
# The "--disable-install-distdir" is important - don't remove it.
# If you enable the distribution-specific install, then apcupsd will attempt