diff --git a/zsh.spec b/zsh.spec index 163ba40..1942d1d 100644 --- a/zsh.spec +++ b/zsh.spec @@ -135,22 +135,6 @@ if [ "$1" = 1 ]; then fi fi -if [ -f %{_infodir}/zsh.info.gz ]; then -# This is needed so that --excludedocs works. -/sbin/install-info %{_infodir}/zsh.info.gz %{_infodir}/dir \ - --entry="* zsh: (zsh). An enhanced bourne shell." -fi - - -%preun -if [ "$1" = 0 ] ; then - if [ -f %{_infodir}/zsh.info.gz ]; then - # This is needed so that --excludedocs works. - /sbin/install-info --delete %{_infodir}/zsh.info.gz %{_infodir}/dir \ - --entry="* zsh: (zsh). An enhanced bourne shell." - fi -fi - %postun if [ "$1" = 0 ] && [ -f %{_sysconfdir}/shells ] ; then sed -i '\!^%{_bindir}/%{name}$!d' %{_sysconfdir}/shells