diff options
author | Martin Stransky <stransky@fedoraproject.org> | 2010-01-07 11:01:56 +0000 |
---|---|---|
committer | Martin Stransky <stransky@fedoraproject.org> | 2010-01-07 11:01:56 +0000 |
commit | 505794d883f17b4346ce30ccabbbf374201b653d (patch) | |
tree | 7125871344db3264b44f5bf75cafbd6683083aa0 | |
parent | Grrr, new year is here (diff) | |
download | librewolf-fedora-ff-505794d883f17b4346ce30ccabbbf374201b653d.tar.gz librewolf-fedora-ff-505794d883f17b4346ce30ccabbbf374201b653d.tar.bz2 librewolf-fedora-ff-505794d883f17b4346ce30ccabbbf374201b653d.zip |
supress error outputs
-rw-r--r-- | firefox.sh.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index 47b4a1b..1b8a289 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -179,8 +179,8 @@ if [ $MOZILLA_DOWN -ne 0 ]; then # Clear already installed langpacks mkdir -p $MOZ_EXTENSIONS_PROFILE_DIR if [ -f $FEDORA_LANGPACK_CONFIG ]; then - rm `cat $FEDORA_LANGPACK_CONFIG` - rm $FEDORA_LANGPACK_CONFIG + rm `cat $FEDORA_LANGPACK_CONFIG` > /dev/null 2>&1 + rm $FEDORA_LANGPACK_CONFIG > /dev/null 2>&1 fi # Try without a local variant first, then with a local variant @@ -191,16 +191,16 @@ if [ $MOZILLA_DOWN -ne 0 ]; then # Try to link global langpacks to an extension directory if [ -f $MOZ_LANGPACKS_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org/chrome/$SHORTMOZLOCALE.jar ]; then if [ -d $MOZ_EXTENSIONS_PROFILE_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org ]; then - rmdir "$MOZ_EXTENSIONS_PROFILE_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org" + rmdir "$MOZ_EXTENSIONS_PROFILE_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org" > /dev/null 2>&1 fi if ! [ -e $MOZ_EXTENSIONS_PROFILE_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org ]; then ln -s $MOZ_LANGPACKS_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org \ - $MOZ_EXTENSIONS_PROFILE_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org + $MOZ_EXTENSIONS_PROFILE_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org echo "$MOZ_EXTENSIONS_PROFILE_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org" > $FEDORA_LANGPACK_CONFIG fi elif [ -f $MOZ_EXTENSIONS_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org/chrome/$MOZLOCALE.jar ]; then if [ -d $MOZ_EXTENSIONS_PROFILE_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org ]; then - rmdir "$MOZ_EXTENSIONS_PROFILE_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org" + rmdir "$MOZ_EXTENSIONS_PROFILE_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org" > /dev/null 2>&1 fi if ! [ -e $MOZ_EXTENSIONS_PROFILE_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org ]; then ln -s $MOZ_LANGPACKS_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org \ |