3
@@ -233,6 +233,9 @@ setup_kernels_arches()
7
+ if [ "${current_os}" != "Linux" ] ; then
10
if [[ -f /boot/System.map-$1 ]]; then
11
/sbin/depmod -a "$1" -F "/boot/System.map-$1"
13
@@ -377,7 +380,7 @@ override_dest_module_location()
14
local orig_location="$1"
15
[[ ${addon_modules_dir} ]] && echo "/${addon_modules_dir}" && return
17
- if [ "$uname_s" = "GNU/kFreeBSD" ] ; then
18
+ if [ "$current_os" = "GNU/kFreeBSD" ] ; then
19
# Does not support subdirs, regardless of distribution