diff options
author | Lars Koeller <lkoeller@FreeBSD.org> | 2005-05-20 06:38:25 +0000 |
---|---|---|
committer | Lars Koeller <lkoeller@FreeBSD.org> | 2005-05-20 06:38:25 +0000 |
commit | a7cb60a0d5442f792fd2d3e099cf68289e1afb25 (patch) | |
tree | 5e9568ef3979a9f445475749604c53d973762660 /sysutils/bacula-server | |
parent | 4b960f653097f3f9d6cecf8405b7ceb93b486836 (diff) |
Notes
Diffstat (limited to 'sysutils/bacula-server')
-rw-r--r-- | sysutils/bacula-server/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index 9db10d6ed33c..0c0a6263c5f8 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -164,13 +164,16 @@ post-patch: .endif post-install: -.if defined(WITH_CLIENT_ONLY) -# Install start script - ${INSTALL_SCRIPT} ${WRKSRC}/scripts/bacula ${PREFIX}/etc/rc.d/z-bacula.sh.sample # Migration: move existing bacula.sh to z-bacula.sh to start bacula AFTER DB start if [ -f ${PREFIX}/etc/rc.d/bacula.sh ]; then \ ${MV} ${PREFIX}/etc/rc.d/bacula.sh ${PREFIX}/etc/rc.d/z-bacula.sh; \ fi + if [ -f ${PREFIX}/etc/rc.d/bacula.sh.sample ]; then \ + ${MV} ${PREFIX}/etc/rc.d/bacula.sh.sample ${PREFIX}/etc/rc.d/z-bacula.sh.sample; \ + fi +.if defined(WITH_CLIENT_ONLY) +# Install start script + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/bacula ${PREFIX}/etc/rc.d/z-bacula.sh.sample # Extend only /etc/services @ ${SETENV} PKG_PREFIX=${PREFIX} \ ${SH} ${PKGINSTALL} ${PORTNAME} |