Commit 01f8440a authored by Vitaly Lipatov's avatar Vitaly Lipatov

spec: remove bashism

parent 4b858128
......@@ -150,14 +150,14 @@ AUTOINSTALL="YES"
EOF
%post -n dkms-etercifs
if [ "$1" == 1 ]
if [ "$1" = 1 ]
then
dkms add -m %modname -v %version --rpm_safe_upgrade
fi
%_initdir/%modname build
%preun -n dkms-etercifs
if [ "$1" == 0 ]
if [ "$1" = 0 ]
then
dkms remove -m %modname -v %version --rpm_safe_upgrade --all
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment