svn commit: r495297 - head/www/firefox/files
Tobias Kortkamp
tobik at FreeBSD.org
Sun Mar 10 16:07:23 UTC 2019
Author: tobik
Date: Sun Mar 10 16:07:21 2019
New Revision: 495297
URL: https://svnweb.freebsd.org/changeset/ports/495297
Log:
www/firefox: Silence pkg-deinstall
This should prevent messages like
rmdir: /usr/local/lib/firefox: Directory not empty
during upgrades. multimedia/openh264 creates
/usr/local/lib/firefox/defaults/pref/gmpopenh264.js
so the directory might not be empty at that time.
PR: 236447
Approved by: gecko (jbeich)
Modified:
head/www/firefox/files/pkg-deinstall.in
Modified: head/www/firefox/files/pkg-deinstall.in
==============================================================================
--- head/www/firefox/files/pkg-deinstall.in Sun Mar 10 15:31:42 2019 (r495296)
+++ head/www/firefox/files/pkg-deinstall.in Sun Mar 10 16:07:21 2019 (r495297)
@@ -24,7 +24,7 @@ rm -f ${MOZDIR}/chrome/app-chrome.manifest
rm -rf ${MOZDIR}/updates
find %%MOZDIR%%/plugins/ -depth 1 -type l -delete > /dev/null 2>&1
find %%MOZDIR%%/extensions/ -depth 1 -type l -delete > /dev/null 2>&1
-rmdir ${MOZDIR}/chrome
-rmdir ${MOZDIR}
+rmdir ${MOZDIR}/chrome 2>/dev/null
+rmdir ${MOZDIR} 2>/dev/null
exit 0
More information about the svn-ports-all
mailing list