aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap/openldap.post-upgrade
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-10-26 22:19:57 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-10-26 22:49:57 +0200
commitfdf9881735f867b6a5ea9e8b69346dd4fc872338 (patch)
tree4ee86649548558f449b7dc562164482e1e2e3304 /main/openldap/openldap.post-upgrade
parent046d831a77e8299deb2069d320f2e7d5287b296e (diff)
downloadaports-fdf9881735f867b6a5ea9e8b69346dd4fc872338.tar.bz2
aports-fdf9881735f867b6a5ea9e8b69346dd4fc872338.tar.xz
main/openldap: move overlays to subpackages
Diffstat (limited to 'main/openldap/openldap.post-upgrade')
-rw-r--r--main/openldap/openldap.post-upgrade9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/openldap/openldap.post-upgrade b/main/openldap/openldap.post-upgrade
index c10ad5ad2b..28919c7d36 100644
--- a/main/openldap/openldap.post-upgrade
+++ b/main/openldap/openldap.post-upgrade
@@ -4,6 +4,13 @@ new_ver="$1"
old_ver="$2"
if [ "$(apk version -t "$old_ver" "2.4.45-r2")" = "<" ]; then
+ cat >&2 <<-EOF
+ *
+ * If you use some overlays, you have to install them separately:
+ * apk add openldap-overlay-<name>
+ * or install them all:
+ * apk add openldap-overlay-all
+ EOF
if [ -e /var/lib/openldap/openldap-data/data.mdb ]; then
cat >&2 <<-EOF
*
@@ -14,5 +21,7 @@ if [ "$(apk version -t "$old_ver" "2.4.45-r2")" = "<" ]; then
* or "olcModuleload back_mdb.so" to slapd.ldif.
*
EOF
+ else
+ echo "*" >&2
fi
fi