X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fprerm;h=2acd7c14ae8e2b3921fa61a31381f76066cfd7b5;hb=5c5904005d2f5466c880ac018187d1071b9b5e87;hp=2a26bb4d63b5956138790ca7d07b13d26764164e;hpb=fe0574c9e748a8f888fc058acfade9424d2e3924;p=mod-security-cn.git diff --git a/debian/prerm b/debian/prerm index 2a26bb4..2acd7c1 100644 --- a/debian/prerm +++ b/debian/prerm @@ -10,7 +10,7 @@ MODSECLNK=/etc/apache2/conf-available/security2-cn.conf # 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 @@ -21,7 +21,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 @@ -55,7 +55,7 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then rm -f "$MODSECLNK" fi - # Remove configuration files generated by this CARNet package. + # Remove configuration files generated by this CARNET package. for mfile in "$MODSECCONF" "$MODSECRBL"; do chk_conf_tag "$mfile" if [ $RET -eq 0 ]; then