diff --git a/rtlwifi-setup.sh b/rtlwifi-setup.sh index 8c57848..71b7d09 100755 --- a/rtlwifi-setup.sh +++ b/rtlwifi-setup.sh @@ -30,7 +30,7 @@ _apply_patch(){ } _install(){ - cd "${tmpdir}"/"${pkgname}" + cd "${tmpdir}"/"${pkgname}" || exit 1 #_apply_patch VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf) rsync -rvhP ./ /usr/src/rtl88x2bu-"${VER}"