aboutsummaryrefslogtreecommitdiff
path: root/share/provision/desktop-basic
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-09 14:26:54 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-09 14:26:54 -0200
commit9f0fe7de41595b956ba47f73948ca308e43fb277 (patch)
tree96676b0351df60a053c11d46b385fd6b3340e83e /share/provision/desktop-basic
parentdb411b4180bd526666e21870b75291ce33d41ef1 (diff)
downloadkvmx-9f0fe7de41595b956ba47f73948ca308e43fb277.tar.gz
kvmx-9f0fe7de41595b956ba47f73948ca308e43fb277.tar.bz2
Desktop basic: fix chromium profile handling
Diffstat (limited to 'share/provision/desktop-basic')
-rwxr-xr-xshare/provision/desktop-basic10
1 files changed, 6 insertions, 4 deletions
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