From b3169034953d8883e4d6b741de788cc277674aac Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 29 Jan 2020 14:40:46 +0100 Subject: [PATCH] wip --- .gitignore | 1 + test/run.sh | 4 ++++ unbox/unbox.sh => unbox.sh | 3 +++ unbox/update_mode.sh => update_mode.sh | 0 unbox/work_mode.sh => work_mode.sh | 0 5 files changed, 8 insertions(+) create mode 100644 .gitignore create mode 100755 test/run.sh rename unbox/unbox.sh => unbox.sh (97%) rename unbox/update_mode.sh => update_mode.sh (100%) rename unbox/work_mode.sh => work_mode.sh (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target diff --git a/test/run.sh b/test/run.sh new file mode 100755 index 0000000..230db7a --- /dev/null +++ b/test/run.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd $(dirname $0) +pwd diff --git a/unbox/unbox.sh b/unbox.sh similarity index 97% rename from unbox/unbox.sh rename to unbox.sh index fbf2020..96e6fe8 100755 --- a/unbox/unbox.sh +++ b/unbox.sh @@ -2,6 +2,9 @@ function unbox_outer_stage(){ echo "-----------FIRST STAGE-----------" + + apt install git dialog + if [ -e repo ]; then (cd repo; git pull) else diff --git a/unbox/update_mode.sh b/update_mode.sh similarity index 100% rename from unbox/update_mode.sh rename to update_mode.sh diff --git a/unbox/work_mode.sh b/work_mode.sh similarity index 100% rename from unbox/work_mode.sh rename to work_mode.sh