aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorMiquel Sabate <msabate@g67.suse.de>2015-06-02 09:43:45 +0200
committerMiquel Sabaté <mikisabate@gmail.com>2015-06-02 09:47:43 +0200
commitd3be39a92e60bdfc63cd08f882b9b95c0db9496e (patch)
treec5ea9c7f172200a1a97b52267fb4225f3bc2efd5 /install.sh
parente0ffcbc209821039f58b95bf25786fb9432d96d3 (diff)
downloaddotfiles-d3be39a92e60bdfc63cd08f882b9b95c0db9496e.tar.gz
dotfiles-d3be39a92e60bdfc63cd08f882b9b95c0db9496e.zip
Added the $PROJECTS variable
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index c360913..766e4ae 100755
--- a/install.sh
+++ b/install.sh
@@ -1,5 +1,6 @@
#!/bin/bash
+PROJECTS="$HOME/Projects"
# If something goes wrong, get the f*ck out.
set -e
@@ -36,8 +37,8 @@ vim +PluginInstall +qall
# there are two configs: the global one and the KDE one. The KDE one assumes
# that all your KDE projects are stored in the `$HOME/Projects/kde` directory.
# The global one is installed in the $HOME directory.
-mkdir -p $HOME/Projects/kde
-cp kte/kde.kateconfig $HOME/Projects/kde/.kateconfig
+mkdir -p $PROJECTS/kde
+cp kte/kde.kateconfig $PROJECTS/kde/.kateconfig
cp kte/global.kateconfig $HOME/.kateconfig
# Download and install the g utility