equal
deleted
inserted
replaced
92 cat $tmp >&2 |
92 cat $tmp >&2 |
93 db_input critical littlebird-tc/web/cert-failed || true |
93 db_input critical littlebird-tc/web/cert-failed || true |
94 db_go || true |
94 db_go || true |
95 fi |
95 fi |
96 fi |
96 fi |
|
97 # permissions for the cert |
|
98 test "$key" && { |
|
99 chown root: "$key" |
|
100 chmod -v go= "$key" |
|
101 } |
97 |
102 |
98 # tweak the config file, but just the lines following a magical |
103 # tweak the config file, but just the lines following a magical |
99 # debconf line |
104 # debconf line |
100 perl - serveradmin="$serveradmin" servername="$servername" \ |
105 perl - serveradmin="$serveradmin" servername="$servername" \ |
101 crt="$crt" key="$key" <<'_' |
106 crt="$crt" key="$key" <<'_' |