This commit is contained in:
j3d1 2020-01-29 22:00:16 +01:00
parent 277de6f817
commit 50c02e4b17

View file

@ -32,11 +32,11 @@ function unbox_outer_stage(){
fi fi
if type -t chroot > /dev/null; then if type -t chroot > /dev/null; then
#if type -t arch-chroot > /dev/null; then if type -t arch-chroot > /dev/null; then
# CHROOT=arch-chroot CHROOT=arch-chroot
#else else
CHROOT=chroot CHROOT=chroot
#fi fi
else else
echo ERROR: no chroot found 1>&2 echo ERROR: no chroot found 1>&2
exit 1 exit 1
@ -65,27 +65,6 @@ function unbox_inner_stage(){
} }
cd $(dirname $0) cd $(dirname $0)
function test_fun(){
#choose_one test1 | prefix_time
#sleep 1
#block_devices | choose_one -
#echo "> "$test
choose_dialog
#sleep 1
#choose_one | prefix_time
}
if [ $# -eq 1 ]; then
if [ $1 = "test" ]; then
test_fun
exit 0
fi
fi
if [[ $# -ge 1 ]]; then if [[ $# -ge 1 ]]; then
CMD=$1 CMD=$1
shift shift