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 ++++++---- .../files/desktop-basic/chromium/chromium.tar.bz2 | Bin 3745901 -> 3751945 bytes 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'share') 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 diff --git a/share/provision/files/desktop-basic/chromium/chromium.tar.bz2 b/share/provision/files/desktop-basic/chromium/chromium.tar.bz2 index 0bd852f..623ef0d 100644 Binary files a/share/provision/files/desktop-basic/chromium/chromium.tar.bz2 and b/share/provision/files/desktop-basic/chromium/chromium.tar.bz2 differ -- cgit v1.2.3