Просмотр исходного кода

Fixes to v-update-sys-hestia-git

Kristan Kenney 6 лет назад
Родитель
Сommit
0facec4dff
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      bin/v-update-sys-hestia-git

+ 5 - 0
bin/v-update-sys-hestia-git

@@ -49,6 +49,9 @@ download_file() {
   fi
   fi
 }
 }
 
 
+# Clear screen output before continuing
+clear
+
 # Set compiling directory
 # Set compiling directory
 BUILD_DIR='/tmp/hestiacp-src/'
 BUILD_DIR='/tmp/hestiacp-src/'
 DEB_DIR="$BUILD_DIR/debs/"
 DEB_DIR="$BUILD_DIR/debs/"
@@ -373,4 +376,6 @@ if [ "$install" = 'yes' ] || [ "$install" = 'y' ]; then
       dpkg -i $i
       dpkg -i $i
     done
     done
     unset $answer
     unset $answer
+    # Remove temporary files
+    rm -rf $BUILD_DIR
 fi
 fi