Hi, I try to remove a mozilla-firefox and mozilla-firefox-lang-pl package, but I get an error. The mozilla-firefox-lang-pl was build from SPEC - revision 1.20.
=== error log === [EMAIL PROTECTED] SPECS]$ sudo rpm -e mozilla-firefox-lang-pl mozilla-firefox-1.0.7 cat: /usr/lib/mozilla-firefox/chrome/*-installed-chrome.txt: No such file or directory error: %postun(mozilla-firefox-lang-pl-1.0.7-1.i686) scriptlet failed, exit status 1 === end error log === If you remove mozilla-firefox-lang-pl there's %postun macro that rebuild installed-chrome.txt, but all files *-installed-chrome.txt was removed already. The macro fails so fails removing this package. This patch check if there's any *-installed-chrome.txt files then rebuild installed-chrome.txt. === patch === --- mozilla-firefox-lang-pl.spec.orig 2005-10-18 15:28:04.000000000 +0200 +++ mozilla-firefox-lang-pl.spec 2005-10-18 15:29:29.000000000 +0200 @@ -53,7 +53,10 @@ %postun umask 022 -cat %{_firefoxdir}/chrome/*-installed-chrome.txt >%{_firefoxdir}/chrome/installed-chrome.txt +if [[ -f %{_firefoxdir}/chrome/*-installed-chrome.txt ]]; +then + cat %{_firefoxdir}/chrome/*-installed-chrome.txt >%{_firefoxdir}/chrome/installed-chrome.txt; +fi %files %defattr(644,root,root,755) === end patch === -- Maciej Witaszek <[EMAIL PROTECTED]> _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en