mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
390288c14d
Thanks to Sebastian Arcus, Ben Stern, and Marcos Tadeu for gentle reminders with fixes for the new version :-) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
11 lines
474 B
Diff
11 lines
474 B
Diff
diff -Nur apcupsd-3.14.13.orig/platforms/slackware/apcupsd.in apcupsd-3.14.13/platforms/slackware/apcupsd.in
|
|
--- apcupsd-3.14.13.orig/platforms/slackware/apcupsd.in 2015-01-29 08:13:25.000000000 -0600
|
|
+++ apcupsd-3.14.13/platforms/slackware/apcupsd.in 2015-08-17 22:49:30.754638339 -0500
|
|
@@ -20,6 +20,7 @@
|
|
if [ -f ${APCPID} ]; then
|
|
return=" Already running."
|
|
else
|
|
+ mkdir -p @LOCKDIR@
|
|
@sbindir@/apcupsd && touch @LOCKDIR@/apcupsd \
|
|
|| return=" Failed."
|
|
fi
|