commit:     1409c9fde13239de5e8713359988b4839ce2ae22
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 27 13:20:59 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 27 13:20:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1409c9fd

net-misc/hylafaxplus: tidy up init script a bit further deux

Bug: https://bugs.gentoo.org/849269
See: a94e38544f0927e94325ad851a55c26763cae33a
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/hylafaxplus/files/hylafaxplus-init-r1                 | 10 +++++-----
 ...hylafaxplus-7.0.3-r3.ebuild => hylafaxplus-7.0.3-r4.ebuild} |  0
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-misc/hylafaxplus/files/hylafaxplus-init-r1 
b/net-misc/hylafaxplus/files/hylafaxplus-init-r1
index fd70fe02d657..9a602b44aa70 100644
--- a/net-misc/hylafaxplus/files/hylafaxplus-init-r1
+++ b/net-misc/hylafaxplus/files/hylafaxplus-init-r1
@@ -52,7 +52,7 @@ checkconfig() {
        if [ x${PIDDIR} = x ] ; then
                PIDDIR=${SPOOL}
        else
-               PIDDIR=${PIDDIR}
+               PIDDIR=${piddir}
        fi
 
 
@@ -159,12 +159,12 @@ zap() {
 
        ebegin "Zap HylaFAX server daemon files"
 
-       if [ -f ${PIDFILE}/hfaxd.pid ] ; then
-               rm -f ${PIDFILE}/hfaxd.pid
+       if [ -f ${PIDDIR}/hfaxd.pid ] ; then
+               rm -f ${PIDDIR}/hfaxd.pid
        fi
 
-       if [ -f ${PIDFILE}/faxq.pid ] ; then
-               rm -f ${PIDFILE}/faxq.pid
+       if [ -f ${PIDDIR}/faxq.pid ] ; then
+               rm -f ${PIDDIR}/faxq.pid
        fi
 }
 

diff --git a/net-misc/hylafaxplus/hylafaxplus-7.0.3-r3.ebuild 
b/net-misc/hylafaxplus/hylafaxplus-7.0.3-r4.ebuild
similarity index 100%
rename from net-misc/hylafaxplus/hylafaxplus-7.0.3-r3.ebuild
rename to net-misc/hylafaxplus/hylafaxplus-7.0.3-r4.ebuild

Reply via email to