]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/Makefile.in
Do not use chgrp when have DESTDIR (i.e. making rpm)
[bacula/bacula] / bacula / src / stored / Makefile.in
index 9a84b4c22d7ad00441de8d4e5a4fd15f549ce23e..2805480d338d72db11c57bf1c4312897728ebe66 100644 (file)
@@ -193,7 +193,7 @@ install: all
        fi; \
        echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \
        ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf
-       @if test "x${sd_group}" != "x"; then \
+       @if test "x${sd_group}" != "x" -a "x${DESTDIR}" = "x" ; then \
           chgrp -f ${sd_group} ${DESTDIR}${sysconfdir}/$$destconf; \
        fi
        @if test -f static-bacula-sd; then \