We should still add the regex lines (initially) to the regex table as the renaming will happen only after the importing.

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/2838/head
DL6ER 5 years ago
parent 054c7a2c05
commit f5121c64be
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -182,8 +182,10 @@ migrate_to_database() {
fi
if [ -e "${regexFile}" ]; then
# Store regex domains in database
# Important note: We need to add the domains to the "regex" table
# as it will only later be renamed to "regex_blacklist"!
echo -e " ${INFO} Migrating content of ${regexFile} into new database"
database_table_from_file "regex_blacklist" "${regexFile}"
database_table_from_file "regex" "${regexFile}"
fi
fi

Loading…
Cancel
Save