]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/Makefile.in
Do not use chgrp when have DESTDIR (i.e. making rpm)
[bacula/bacula] / bacula / src / filed / Makefile.in
index fdbffb438556e4734c03d7f238af2a8cf4685d0d..5a6e67d1f9bd835bbfda0b78e1d18699313dd08a 100644 (file)
@@ -109,7 +109,7 @@ install: all
        fi; \
        echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
        ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
-       @if test "x${fd_group}" != "x"; then \
+       @if test "x${fd_group}" != "x" -a "x${DESTDIR}" = "x" ; then \
           chgrp -f ${fd_group} ${DESTDIR}${sysconfdir}/$$destconf ; \
        fi
        @if test -f static-bacula-fd; then \