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