Update www/ufdbguard to version 1.33.1
[dports.git] / www / ufdbguard / files / patch-src_check__config__file
1 --- src/check_config_file.orig  2017-03-01 14:25:22 UTC
2 +++ src/check_config_file
3 @@ -32,16 +32,6 @@ then
4     exit 1
5  fi
6  
7 -if [ ! -f $CONFIG.pre-v1.33 ]
8 -then
9 -   cp $CONFIG $CONFIG.pre-v1.33
10 -   if [ ! -f $CONFIG.pre-v1.33 ]
11 -   then
12 -      echo "cannot copy configuration file to $CONFIG.pre-v1.33"
13 -      exit 1
14 -   fi
15 -fi
16 -
17  if [ ! -w $CONFIG ]
18  then
19     chmod u+w $CONFIG
20 @@ -496,7 +486,6 @@ then
21     echo "It is recommended to verify all ACLs for the inclusion of these URL categories ******"
22  fi
23  
24 -echo "The original configuration file is saved in $CONFIG.pre-v1.33"
25  echo
26  
27  exit 0