summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/app-backup/bacula/bacula-scm.exheres-012
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/app-backup/bacula/bacula-scm.exheres-0 b/packages/app-backup/bacula/bacula-scm.exheres-0
index 4a5f621..1672fdd 100644
--- a/packages/app-backup/bacula/bacula-scm.exheres-0
+++ b/packages/app-backup/bacula/bacula-scm.exheres-0
@@ -182,15 +182,15 @@ src_install() {
if ! option minimal; then
# the database update scripts
diropts -m0750
- insinto "${IMAGE}"/usr/$(exhost --target)/libexec/bacula/updatedb
+ insinto /usr/$(exhost --target)/libexec/bacula/updatedb
insopts -m0754
doins "${WORK}"/updatedb/*
- fperms 0640 "${IMAGE}"/usr/$(exhost --target)/libexec/bacula/updatedb/README
+ edo chmod 0640 "${IMAGE}"/usr/$(exhost --target)/libexec/bacula/updatedb/README
# the logrotate configuration
# (now unconditional wrt bug #258187)
diropts -m0755
- insinto "${IMAGE}"/etc/logrotate.d
+ insinto /etc/logrotate.d
insopts -m0644
newins "${WORK}"/scripts/logrotate bacula
@@ -249,8 +249,10 @@ src_install() {
insinto /usr/share/vim/vimfiles/ftdetect
newins scripts/filetype.vim bacula_ft.vim
fi
-
- edo rmdir "${IMAGE}"/usr/share/man/man1
+
+ if option minimal; then
+ edo rmdir "${IMAGE}"/usr/share/man/man1
+ fi
edo rmdir "${IMAGE}"/tmp
edo rmdir "${IMAGE}"/opt/bacula/log
edo rmdir "${IMAGE}"/opt/bacula