Accepting request 834594 from home:dimstar:Factory
- Fix postun scriptlet of vim-small: do not unconditionally deregister vim-small as an alternative on uninstall (which happens on package upgrades too) (boo#1176549). OBS-URL: https://build.opensuse.org/request/show/834594 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=620
This commit is contained in:
parent
77ec2c06eb
commit
270efa0204
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 15 11:34:57 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Fix postun scriptlet of vim-small: do not unconditionally
|
||||
deregister vim-small as an alternative on uninstall (which
|
||||
happens on package upgrades too) (boo#1176549).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 2 06:20:24 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
4
vim.spec
4
vim.spec
@ -450,7 +450,9 @@ fi
|
||||
--slave %{_bindir}/vi vi %{_bindir}/vim-small
|
||||
|
||||
%postun small
|
||||
%{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-small
|
||||
if [ ! -e %{_bindir}/vim-small ] ; then
|
||||
%{_sbindir}/update-alternatives --remove vim %{_bindir}/vim-small
|
||||
fi
|
||||
|
||||
%files
|
||||
%ghost %{_sysconfdir}/alternatives/vim
|
||||
|
Loading…
Reference in New Issue
Block a user