fix upgrade error due to dictionaries symlink [release 61.0.1-2mamba;Fri Jul 13 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 22:19:10 +01:00
parent f49b273c89
commit 8ca3028e85

View File

@ -18,7 +18,7 @@
Name: firefox Name: firefox
Version: 61.0.1 Version: 61.0.1
Release: 1mamba Release: 2mamba
Epoch: 1 Epoch: 1
Summary: The next generation browsing technology from mozilla.org Summary: The next generation browsing technology from mozilla.org
Group: Graphical Desktop/Applications/Internet Group: Graphical Desktop/Applications/Internet
@ -451,6 +451,12 @@ _EOF
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%pre
if [ $1 -gt 1 ]; then
[ -L "%{firefoxappdir}/dictionaries" ] || rm -rf "%{firefoxappdir}/dictionaries"
fi
:
%post %post
update-desktop-database &> /dev/null || : update-desktop-database &> /dev/null || :
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
@ -1898,6 +1904,9 @@ Zulu language support for Firefox.
#%{firefoxappdir}/browser/extensions/langpack-zu@firefox.mozilla.org.xpi #%{firefoxappdir}/browser/extensions/langpack-zu@firefox.mozilla.org.xpi
%changelog %changelog
* Fri Jul 13 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 61.0.1-2mamba
- fix upgrade error due to dictionaries symlink
* Sun Jul 08 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 61.0.1-1mamba * Sun Jul 08 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 61.0.1-1mamba
- update to 61.0.1 - update to 61.0.1