From a0e02db33abce0175ba13ec51fbd9b30c0d10bdc Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 7 May 2018 14:58:30 +0200 Subject: [PATCH] google-chrome: Only change $HOME if it is the default --- google-chrome | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 "$@" -- 2.39.5