From: Stefan Schantl Date: Sat, 11 Jul 2020 10:11:01 +0000 (+0200) Subject: convert-to-location: Fix double patch declaration X-Git-Tag: v2.25-core148~25 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=d047b493aaae6cb98e589718b778a67b0566f4e4 convert-to-location: Fix double patch declaration Signed-off-by: Stefan Schantl Signed-off-by: Arne Fitzenreiter --- diff --git a/src/scripts/convert-to-location b/src/scripts/convert-to-location index 2d830078a5..db61d3c79b 100755 --- a/src/scripts/convert-to-location +++ b/src/scripts/convert-to-location @@ -36,7 +36,7 @@ if [ -f "$FW_CONF_DIR/geoipblock" ]; then for file in "$FW_CONF_DIR/config" "$FW_CONF_DIR/input" "$FW_CONF_DIR/outgoing"; do # Convert pattern which indicates location based rules to the new # ones. - sed -i 's/cust_geoip/cust_location/g' "$FW_CONF_DIR/$file" + sed -i 's/cust_geoip/cust_location/g' "$file" done # Rename indicator for location based groups to the new one.