summarylogtreecommitdiffstats
path: root/custom_config.diff
blob: c331cf57e491c6df5575c94e32fd7262960f040b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- clamav-unofficial-sigs.sh	2017-05-15 18:47:41.143568736 +0530
+++ clamav-unofficial-sigs.sh	2018-05-11 15:52:17.460935194 +0530
@@ -740,7 +740,7 @@
   if [ "$custom_config" != "no" ] ; then
     if [ -d "$custom_config" ] ; then
       # Assign the custom config dir and remove trailing / (removes / and //)
-      echo "Custom Configuration Directory: $config_dir"
+      echo "Custom Configuration Directory: $custom_config"
     else
       echo "Custom Configuration File: $custom_config"
     fi
@@ -1415,6 +1415,7 @@
   if [ -d "$custom_config" ] ; then
     # Assign the custom config dir and remove trailing / (removes / and //)
     shopt -s extglob; custom_config="${custom_config%%+(/)}"
+    config_dir="$custom_config"
     config_files=( "$config_dir/master.conf" "$config_dir/os.conf" "$config_dir/user.conf" )
   else
     config_files=( "$custom_config" )