summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index efd04c3d0..294177193 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -30,6 +30,8 @@ check_idea_key() {
30get_config_option() { 30get_config_option() {
31 option="$1" 31 option="$1"
32 32
33 [ -f /etc/ssh/sshd_config ] || return
34
33 # TODO: actually only one '=' allowed after option 35 # TODO: actually only one '=' allowed after option
34 perl -ne 'print if s/^[[:space:]]*'"$option"'[[:space:]=]+//i' \ 36 perl -ne 'print if s/^[[:space:]]*'"$option"'[[:space:]=]+//i' \
35 /etc/ssh/sshd_config 37 /etc/ssh/sshd_config