15 lines
431 B
Bash
Executable File
15 lines
431 B
Bash
Executable File
#!/bin/sh
|
|
# Asks the admin for an initial policy. Postinst (Task 6) reads the
|
|
# answer and writes /etc/authforge/policy.d/00-debconf.conf on first
|
|
# install only. Re-runs (e.g. `dpkg-reconfigure authforge`) re-prompt
|
|
# but do not overwrite an existing seed file unless the admin chose to.
|
|
set -e
|
|
|
|
# shellcheck source=/dev/null
|
|
. /usr/share/debconf/confmodule
|
|
|
|
db_input medium authforge/initial-policy || true
|
|
db_go || true
|
|
|
|
exit 0
|