Browse Source

Add prep cleanup

Nathaniel van Diepen 9 years ago
parent
commit
4e0baff575
1 changed files with 4 additions and 1 deletions
  1. 4 1
      install.sh

+ 4 - 1
install.sh

@@ -69,10 +69,13 @@ if [ "$(id -u)" != "0" ];then
 	exit;
 fi;
 # Actually run the install
+section "Prep";
+TMP="$TMP/temp/";
+mkdir -p $TMP;
+rm -rf $TMP/*;
 
 section "Registering";
 log "Getting IDs";
-mkdir -p /tmp/omni-setup;
 sublog "Hostname";
 download "$REGISTER_URL/hostname" $TMP/hostname;
 if [[ "$(cat $TMP/hostname)" == "" ]];then