From: Martin Pitt Date: Mon, 7 May 2018 12:58:30 +0000 (+0200) Subject: google-chrome: Only change $HOME if it is the default X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=a0e02db33abce0175ba13ec51fbd9b30c0d10bdc;p=bin.git google-chrome: Only change $HOME if it is the default --- diff --git a/google-chrome b/google-chrome index 486e6ae..6ea8b96 100755 --- a/google-chrome +++ b/google-chrome @@ -1,3 +1,5 @@ #!/bin/sh -export HOME=/home/martin/.cache/chrome-home -exec /usr/bin/google-chrome +if [ "$HOME" = "/home/martin" ]; then + export HOME=/home/martin/.cache/chrome-home +fi +exec /usr/bin/google-chrome "$@"