diff options
Diffstat (limited to 'scripts/kmodtool')
-rwxr-xr-x | scripts/kmodtool | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kmodtool b/scripts/kmodtool index 27a14cdac..a632dd046 100755 --- a/scripts/kmodtool +++ b/scripts/kmodtool @@ -178,9 +178,9 @@ EOF else cat <<EOF %post -n kmod-${kmodname}-${kernel_uname_r} -[[ "$(uname -r)" == "${kernel_uname_r}" ]] && ${prefix}/sbin/depmod -a > /dev/null || : +[[ "\$(uname -r)" == "${kernel_uname_r}" ]] && ${prefix}/sbin/depmod -a > /dev/null || : %postun -n kmod-${kmodname}-${kernel_uname_r} -[[ "$(uname -r)" == "${kernel_uname_r}" ]] && ${prefix}/sbin/depmod -a > /dev/null || : +[[ "\$(uname -r)" == "${kernel_uname_r}" ]] && ${prefix}/sbin/depmod -a > /dev/null || : EOF fi |