[1/2] convert-to-location: Fix double patch declaration
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
src/scripts/convert-to-location | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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.