sys-fs/sanoid: move configuration tooltip to pkg_postinst

fixes VariableScopeCheck for REPLACING_VERSIONS

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-08-05 12:41:30 +02:00
parent 42382d7930
commit 480d181c6b
2 changed files with 12 additions and 12 deletions

View File

@@ -48,16 +48,16 @@ src_install() {
insinto /etc/sanoid
doins "sanoid.defaults.conf"
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "You will need to set up your /etc/sanoid/sanoid.conf file before"
elog "running sanoid for the first time. For details, please consult the"
elog "documentation on https://github.com/jimsalterjrs/sanoid."
fi
}
pkg_postinst() {
optfeature "lzop compression support" app-arch/lzop
optfeature "pigz compression support" app-arch/pigz
optfeature "zstd compression support" app-arch/zstd
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "You will need to set up your ${EROOT}/etc/sanoid/sanoid.conf file before"
elog "running sanoid for the first time. For details, please consult the"
elog "documentation on https://github.com/jimsalterjrs/sanoid."
fi
}

View File

@@ -48,16 +48,16 @@ src_install() {
insinto /etc/sanoid
doins "sanoid.defaults.conf"
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "You will need to set up your /etc/sanoid/sanoid.conf file before"
elog "running sanoid for the first time. For details, please consult the"
elog "documentation on https://github.com/jimsalterjrs/sanoid."
fi
}
pkg_postinst() {
optfeature "lzop compression support" app-arch/lzop
optfeature "pigz compression support" app-arch/pigz
optfeature "zstd compression support" app-arch/zstd
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "You will need to set up your ${EROOT}/etc/sanoid/sanoid.conf file before"
elog "running sanoid for the first time. For details, please consult the"
elog "documentation on https://github.com/jimsalterjrs/sanoid."
fi
}