summaryrefslogtreecommitdiff
path: root/debian/mariadb-server-10.1.config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mariadb-server-10.1.config')
-rw-r--r--debian/mariadb-server-10.1.config14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/mariadb-server-10.1.config b/debian/mariadb-server-10.1.config
new file mode 100644
index 0000000..7da26df
--- /dev/null
+++ b/debian/mariadb-server-10.1.config
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -e
+
+. /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 "`which ypwhich 2>/dev/null`" && ypwhich >/dev/null 2>&1; then
+ db_input high mariadb-server-10.1/nis_warning || true
+ db_go
+fi