X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=3a21ffd2c806ceb42d1f654e78a75845f065f93f;hb=60afd8f0e7a1ebc0a5689b04b083ec37e3bf9945;hp=24ab87487209fac6bb7fbc991abe07b6dea35473;hpb=fe0574c9e748a8f888fc058acfade9424d2e3924;p=mod-security-cn.git diff --git a/debian/postinst b/debian/postinst index 24ab874..3a21ffd 100644 --- a/debian/postinst +++ b/debian/postinst @@ -8,7 +8,7 @@ set -e # Load Debconf . /usr/share/debconf/confmodule -# Load CARNet Tools +# Load CARNET Tools . /usr/share/carnet-tools/functions.sh PKG="mod-security-cn" @@ -56,7 +56,7 @@ cleanup () { # chk_conf_tag () # -# Check if configuration file has CARNet package info lines. +# Check if configuration file has CARNET package info lines. # return: $RET => 0 - tagged # 1 - file does not exists # 2 - file exists, but it is not tagged @@ -67,7 +67,7 @@ chk_conf_tag () { RET=1 if [ -f "$conf_file" ]; then - if egrep -q "^## Begin - Generated by CARNet package mod-security-cn$" "$conf_file"; then + if egrep -q "^## Begin - Generated by CARNET package mod-security-cn$" "$conf_file"; then RET=0 else RET=2