Changed files:
zsh.spec -> 1.133
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
if [ ! -f /etc/shells ]; then
echo "%{_bindir}/zsh" >> /etc/shells
else
grep -q '^%{_bindir}/zsh$' /etc/shells || echo "%{_bindir}/zsh" >> /etc/shells
fi
if [ ! -f /etc/shells ]; then
echo "%{_bindir}/zsh" >> /etc/shells
else
grep -q '^%{_bindir}/zsh$' /etc/shells || echo "%{_bindir}/zsh" >> /etc/shells
fi
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
for i in zlogin zlogout zprofile zshenv zshrc; do
[ -f /etc/$i ] && zsh -c "zcompile /etc/$i"
done
for i in zlogin zlogout zprofile zshenv zshrc; do
[ -f /etc/$i ] && zsh -c "zcompile /etc/$i"
done
mv -f /etc/shells.new /etc/shells
fi
mv -f /etc/shells.new /etc/shells
fi
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}