Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
3efb149c7a
commit
b520ba5826
1 changed files with 0 additions and 6 deletions
|
|
@ -63,7 +63,6 @@ install -p -m a+r,u+w vimoutliner-mimefile.xml \
|
|||
install -p -D %{SOURCE6} %{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
cd %{_datadir}/vim/vimfiles/doc
|
||||
vim -u NONE -esX -c "helptags ." -c quit
|
||||
grep -q "filetype plugin on" /etc/vimrc \
|
||||
|
|
@ -71,15 +70,10 @@ grep -q "filetype plugin on" /etc/vimrc \
|
|||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
cd %{_datadir}/vim/vimfiles/doc
|
||||
vim -u NONE -esX -c "helptags ." -c quit
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
%files
|
||||
%doc README.otl2html README.otl_handler README.Fedora LICENSE TODO.otl
|
||||
%doc examples CHANGELOG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue