Skip to content

Commit ac348c8

Browse files
committed
geoinit: don't check fw backend if not root; bump version to 0.6.7
1 parent 8682291 commit ac348c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: geoip-shell-geoinit.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# the install script makes a new version of this file
1212

1313

14-
curr_ver="0.6.6"
14+
curr_ver="0.6.7"
1515
export install_dir="/usr/bin" lib_dir="$script_dir/lib" iplist_dir="/tmp/$p_name" lock_file="/tmp/$p_name.lock" \
1616
excl_file="$script_dir/iplist-exclusions.conf"
1717

@@ -27,6 +27,6 @@ check_shell
2727
[ "$root_ok" ] || { [ "$(id -u)" = 0 ] && export root_ok=1; }
2828
. "${_lib}-common.sh" || exit 1
2929

30-
[ ! "$inst_root_gs" ] && { _fw_backend="$(detect_fw_backend)" || die; }
30+
[ "$root_ok" ] && [ ! "$inst_root_gs" ] && { _fw_backend="$(detect_fw_backend)" || die; }
3131

3232
:

0 commit comments

Comments
 (0)