diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-21 22:23:39 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-21 22:23:39 +0000 |
commit | 63ab4784a1127a9568d914fdd7d8d89c1a4eac10 (patch) | |
tree | d1c3e774dc5ba0dc73d3136838c88746aa4f30ce | |
parent | 270d5136f66f11e30b8ae2a7ed0af2f2d0999b1f (diff) | |
download | chromium_src-63ab4784a1127a9568d914fdd7d8d89c1a4eac10.zip chromium_src-63ab4784a1127a9568d914fdd7d8d89c1a4eac10.tar.gz chromium_src-63ab4784a1127a9568d914fdd7d8d89c1a4eac10.tar.bz2 |
Linux: silence non-fatal update-desktop-database errors.
BUG=345311
TEST=See bug
Review URL: https://codereview.chromium.org/206613003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258692 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/installer/linux/common/postinst.include | 2 | ||||
-rw-r--r-- | chrome/installer/linux/common/prerm.include | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/linux/common/postinst.include b/chrome/installer/linux/common/postinst.include index 9d10185..194e9a4 100644 --- a/chrome/installer/linux/common/postinst.include +++ b/chrome/installer/linux/common/postinst.include @@ -15,7 +15,7 @@ if [ -x "$UPDATE_MENUS" ]; then fi # Update cache of .desktop file MIME types. Non-fatal since it's just a cache. -update-desktop-database || true +update-desktop-database > /dev/null 2>&1 || true # Updates defaults.list file if present. update_defaults_list() { diff --git a/chrome/installer/linux/common/prerm.include b/chrome/installer/linux/common/prerm.include index 721f525..5bb2c40 100644 --- a/chrome/installer/linux/common/prerm.include +++ b/chrome/installer/linux/common/prerm.include @@ -15,4 +15,4 @@ if [ -x "$UPDATE_MENUS" ]; then fi # Update cache of .desktop file MIME types. Non-fatal since it's just a cache. -update-desktop-database || true +update-desktop-database > /dev/null 2>&1 || true |