diff options
Diffstat (limited to 'devel/linux_devtools')
-rw-r--r-- | devel/linux_devtools/pkg-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/linux_devtools/pkg-install b/devel/linux_devtools/pkg-install index 957ee313fa57..6ee794c46d01 100644 --- a/devel/linux_devtools/pkg-install +++ b/devel/linux_devtools/pkg-install @@ -3,7 +3,7 @@ case "$2" in PRE-INSTALL) - if [ -z "`kldstat -v | ${GREP} -E 'linux(aout|elf)'`" ]; then + if [ -z "`kldstat -v | grep -E 'linux(aout|elf)'`" ]; then echo 'Linux mode is not enabled.' echo 'Loading linux kernel module now...' if ! kldload linux; then @@ -11,6 +11,7 @@ PRE-INSTALL) echo 'Please enable linux mode manually and retry.' exit 1 fi + fi ;; esac |