]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
convert-to-location: Fix double patch declaration
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 11 Jul 2020 10:11:01 +0000 (12:11 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 12 Jul 2020 05:31:39 +0000 (05:31 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/scripts/convert-to-location

index 2d830078a508dc52753504c65078e8a699310986..db61d3c79bee36975426d7cf228235a3fec08575 100755 (executable)
@@ -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.