From 9f0fe7de41595b956ba47f73948ca308e43fb277 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 Nov 2017 14:26:54 -0200 Subject: Desktop basic: fix chromium profile handling --- share/provision/desktop-basic | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'share/provision/desktop-basic') diff --git a/share/provision/desktop-basic b/share/provision/desktop-basic index daf5a67..02658f6 100755 --- a/share/provision/desktop-basic +++ b/share/provision/desktop-basic @@ -71,11 +71,13 @@ if [ ! -e "$HOME/.custom/xsession" ]; then fi # Mozilla configuration -if [ ! -d ".mozilla" ]; then - tar xvf $DIRNAME/files/desktop-basic/mozilla/mozilla.tar.bz2 +# Create this config using "cd $HOME && /bin/tar jcvf mozilla.tar.bz2 .mozilla" +if [ ! -d "$HOME/.mozilla" ]; then + ( cd $HOME && tar xvf $DIRNAME/files/desktop-basic/mozilla/mozilla.tar.bz2 ) fi # Chromium configuration -if [ ! -d ".config/chromium" ]; then - tar xvf $DIRNAME/files/desktop-basic/chromium/chromium.tar.bz2 +# Create this config using "cd $HOME && /bin/tar jcvf chromium.tar.bz2 .config/chromium" +if [ ! -d "$HOME/.config/chromium" ]; then + ( cd $HOME && tar xvf $DIRNAME/files/desktop-basic/chromium/chromium.tar.bz2 ) fi -- cgit v1.2.3