# /sbin/update-modules.dep compares when the modules were built, rather
# than installed, so force modules.dep to be recreated
echo "rm -f /lib/modules/%{KVERREL}${delim_flavor}/modules.dep" >> ${script}
- echo "if [ -f /etc/modprobe.conf ] ; then" >> ${script}
+ echo "if [ -f /etc/modprobe.conf ] ; then" >> ${script}
sed -e "s^%ver_str^%{KVERREL}${delim_flavor}^g" -e "s^%flavor^${flavor}^" %{SOURCE26} >> ${script}
echo "else" >> ${script}
echo "fi" >> ${script}
;;
postun)
- echo "if [ -f /etc/modprobe.conf ] ; then" >> ${script}
+ echo "if [ -f /etc/modprobe.conf ] ; then" >> ${script}
sed -e "s^%ver_str^%{KVERREL}${delim_flavor}^g" %{SOURCE27} >> ${script}
- echo "else" >> ${script}
+ echo "else" >> ${script}
sed -e "s^%ver_str^%{KVERREL}${delim_flavor}^g" %{SOURCE30} >> ${script}
echo "fi" >> ${script}
;;
if [ -z "${flavor}" ] ; then
cat >> ${script} <<EOF
cd /boot
-%ifnarch ia64
+%ifnarch ia64
ln -sf vmlinuz-%{KVERREL} vmlinuz
%endif
ln -sf System.map-%{KVERREL} System.map