make the scriptlet tests internally consistent
This commit is contained in:
parent
d039ba975b
commit
5f8c370297
|
@ -207,7 +207,7 @@ done
|
||||||
alternatives --install %{_bindir}/etags etags %{_bindir}/etags.emacs 80
|
alternatives --install %{_bindir}/etags etags %{_bindir}/etags.emacs 80
|
||||||
|
|
||||||
%preun common
|
%preun common
|
||||||
if [ "$1" = 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
for f in %{info_files}; do
|
for f in %{info_files}; do
|
||||||
/sbin/install-info --delete %{_infodir}/$f.gz %{_infodir}/dir \
|
/sbin/install-info --delete %{_infodir}/$f.gz %{_infodir}/dir \
|
||||||
--section="GNU Emacs" 2> /dev/null || :
|
--section="GNU Emacs" 2> /dev/null || :
|
||||||
|
|
Loading…
Reference in New Issue