From f2ea2b1f0ca882ff5ba47b91e87ef7ec455734ca Mon Sep 17 00:00:00 2001 From: stimpy Date: Fri, 17 Dec 2021 12:03:34 +0100 Subject: [PATCH 1/2] fixed typo it's $work_dir_urlhaus not $work_dir_urlhaust --- clamav-unofficial-sigs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clamav-unofficial-sigs.sh b/clamav-unofficial-sigs.sh index 36b7cfb2..c7928209 100755 --- a/clamav-unofficial-sigs.sh +++ b/clamav-unofficial-sigs.sh @@ -1920,7 +1920,7 @@ if [ -z "$work_dir_malwarepatrol" ] ; then else shopt -s extglob; work_dir_malwarepatrol="${work_dir_malwarepatrol%%+(/)}" fi -if [ -z "$work_dir_urlhaust" ] ; then +if [ -z "$work_dir_urlhaus" ] ; then work_dir_urlhaus="$(echo "${work_dir}/${urlhaus_dir}" | $sed_bin 's:/*$::')" else shopt -s extglob; work_dir_urlhaus="${work_dir_urlhaus%%+(/)}" From 24d35825977ef09bcd7954608a19a213ab077b28 Mon Sep 17 00:00:00 2001 From: stimpy Date: Fri, 17 Dec 2021 15:22:51 +0100 Subject: [PATCH 2/2] added $work_dir_urlhaus to directories check $work_dir_urlhaus was missing from the inital working directories creation --- clamav-unofficial-sigs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/clamav-unofficial-sigs.sh b/clamav-unofficial-sigs.sh index c7928209..6b8255af 100755 --- a/clamav-unofficial-sigs.sh +++ b/clamav-unofficial-sigs.sh @@ -2761,6 +2761,7 @@ xshok_mkdir_ownership "$work_dir_malwareexpert" xshok_mkdir_ownership "$work_dir_malwarepatrol" xshok_mkdir_ownership "$work_dir_sanesecurity" xshok_mkdir_ownership "$work_dir_securiteinfo" +xshok_mkdir_ownership "$work_dir_urlhaus" xshok_mkdir_ownership "$work_dir_work_configs" xshok_mkdir_ownership "$work_dir_yararulesproject"