aboutsummaryrefslogtreecommitdiff
path: root/system/apcupsd
diff options
context:
space:
mode:
authorGreg' Ar Tourter <artourter@gmail.com>2017-06-03 20:08:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-06 07:56:28 +0700
commit796c859cddc83fec0fd1a2a44d41c7d830718d51 (patch)
tree811bd62558cbe8fdc8ed08348a41c285e3470c4c /system/apcupsd
parent050e35536e25ea1f063c9814cf27b68283e8355f (diff)
system/apcupsd: Update build script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/apcupsd')
-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 4a64e47297adf..080d77ca6fab9 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