summaryrefslogtreecommitdiffstats
path: root/debian/mariadb-server.config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:44 +0000
commitbf772a107fc4511b6e3e5aafddb762ca3fa74f0b (patch)
tree8d994c2f3d8e9f01da4d334f90a20798760d9318 /debian/mariadb-server.config
parentAdding upstream version 1:10.11.6. (diff)
downloadmariadb-bf772a107fc4511b6e3e5aafddb762ca3fa74f0b.tar.xz
mariadb-bf772a107fc4511b6e3e5aafddb762ca3fa74f0b.zip
Adding debian version 1:10.11.6-2.debian/1%10.11.6-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/mariadb-server.config')
-rw-r--r--debian/mariadb-server.config20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/mariadb-server.config b/debian/mariadb-server.config
new file mode 100644
index 00000000..9913c33f
--- /dev/null
+++ b/debian/mariadb-server.config
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+set -e
+
+# shellcheck source=/dev/null
+. /usr/share/debconf/confmodule
+
+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]
+then
+ set -v -x; DEBIAN_SCRIPT_TRACE=1
+fi
+
+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2}
+
+# Beware that there are two ypwhich one of them needs the 2>/dev/null!
+if test -n "$(command -v ypwhich 2>/dev/null)" && ypwhich > /dev/null 2>&1
+then
+ db_input high mariadb-server/nis_warning || true
+ db_go
+fi