make the scriptlet tests internally consistent

This commit is contained in:
Charles Coldwell 2007-05-22 19:24:04 +00:00
parent d039ba975b
commit 5f8c370297
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ done
alternatives --install %{_bindir}/etags etags %{_bindir}/etags.emacs 80
%preun common
if [ "$1" = 0 ]; then
if [ $1 -eq 0 ]; then
for f in %{info_files}; do
/sbin/install-info --delete %{_infodir}/$f.gz %{_infodir}/dir \
--section="GNU Emacs" 2> /dev/null || :