convert-to-location: Fix double patch declaration

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Stefan Schantl
2020-07-11 12:11:01 +02:00
committed by Arne Fitzenreiter
parent d0cbdd6363
commit d047b493aa

View File

@@ -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.