From 81659c73715fc0a532a5479baf6b7168b30d8e23 Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Thu, 16 May 2019 13:21:30 +0200 Subject: [PATCH] x230: remove temporary output directory after flashing --- x230/x230_heads.sh | 3 +++ x230/x230_skulls.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/x230/x230_heads.sh b/x230/x230_heads.sh index cd6789d..04ffb54 100755 --- a/x230/x230_heads.sh +++ b/x230/x230_heads.sh @@ -118,6 +118,9 @@ while true; do * ) exit;; esac done + +rm -rf ${OUTPUT_PATH} + while true; do read -r -p "Reboot now? (please do!) Y/n: " yn case $yn in diff --git a/x230/x230_skulls.sh b/x230/x230_skulls.sh index e7c4725..d360fe5 100755 --- a/x230/x230_skulls.sh +++ b/x230/x230_skulls.sh @@ -206,6 +206,9 @@ while true; do * ) exit;; esac done + +rm -rf ${OUTPUT_PATH} + while true; do read -r -p "Reboot now? (please do!) Y/n: " yn case $yn in