system/apcupsd: Update build script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Greg' Ar Tourter 2017-06-03 20:08:50 +07:00 committed by Willy Sudiarto Raharjo
parent 050e35536e
commit 796c859cdd

View file

@ -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