diff options
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/debian-skeleton/rpki-ca.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/debian-skeleton/rpki-ca.postinst b/buildtools/debian-skeleton/rpki-ca.postinst index 57d0872c..68daa7b7 100644 --- a/buildtools/debian-skeleton/rpki-ca.postinst +++ b/buildtools/debian-skeleton/rpki-ca.postinst @@ -24,7 +24,7 @@ setup_apache() { f=/etc/apache2/sites-available/default-ssl conf=/etc/rpki/apache.conf cmd=no - if test "x$(grep -q "[^#]*Include $conf" $f)" = "x" + if test "$(grep "[^#]*Include $conf" $f 2>/dev/null)" = "" then awk < $f > ${f}.tmp -v conf=$conf ' $0 ~ /[^#]*<\/VirtualHost>/ { print "Include", conf } |