From 5f8c370297cc70a22b8c60243f13e48e205b13a1 Mon Sep 17 00:00:00 2001 From: Charles Coldwell Date: Tue, 22 May 2007 19:24:04 +0000 Subject: [PATCH] make the scriptlet tests internally consistent --- emacs.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs.spec b/emacs.spec index fd5b3d7..dab7225 100644 --- a/emacs.spec +++ b/emacs.spec @@ -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 || :