Accepting request 869221 from home:lnussel:usrmove
- fix update-alternatives usage. Needs to be in %postun according to https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines#update-alternatives_mechanism OBS-URL: https://build.opensuse.org/request/show/869221 OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=82
This commit is contained in:
parent
d23e4f7b39
commit
7b533d5cf6
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 4 10:41:36 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
- fix update-alternatives usage. Needs to be in %postun according to
|
||||||
|
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines#update-alternatives_mechanism
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 14 16:06:16 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
Mon Dec 14 16:06:16 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
@ -89,8 +89,8 @@ ln -s %{_sysconfdir}/alternatives/awk.1%{?ext_man} %{buildroot}%{_mandir}/man1/a
|
|||||||
--slave %{_mandir}/man1/awk.1.gz awk.1%{?ext_man} %{_mandir}/man1/gawk.1%{?ext_man}
|
--slave %{_mandir}/man1/awk.1.gz awk.1%{?ext_man} %{_mandir}/man1/gawk.1%{?ext_man}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%preun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ ! -f %{_bindir}/gawk ]; then
|
||||||
%{_sbindir}/update-alternatives --remove awk %{_bindir}/gawk
|
%{_sbindir}/update-alternatives --remove awk %{_bindir}/gawk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user