Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'env.sh')
-rwxr-xr-xenv.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/env.sh b/env.sh
index 30851a0..0c5b4ea 100755
--- a/env.sh
+++ b/env.sh
@@ -26,9 +26,19 @@ check_root () {
echo "[OK]"
}
+clean_install () {
+ echo "Cleaning install directory"
+ if [ -d ./install ]; then
+ rm -Rf ./install
+ fi
+ mkdir install
+ echo "[OK]"
+}
+
# Installation function
installenv () {
check_root
+ clean_install
exit
}