progress
This commit is contained in:
parent
e8d03b8c04
commit
18ebb32efa
|
@ -7,7 +7,10 @@ err() {
|
||||||
header() {
|
header() {
|
||||||
if [ "$DEBUG" == "1" ]; then
|
if [ "$DEBUG" == "1" ]; then
|
||||||
echo please enter enter
|
echo please enter enter
|
||||||
read
|
read a
|
||||||
|
if [ "$a" == "2" ]; then
|
||||||
|
set -x
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
clear
|
clear
|
||||||
echo "#### $1"
|
echo "#### $1"
|
||||||
|
|
11
main.sh
11
main.sh
|
@ -10,12 +10,11 @@ tmp_target="${main}/tmp_target"
|
||||||
vars="${target}/tmp/vinstaller/vars"
|
vars="${target}/tmp/vinstaller/vars"
|
||||||
files="./files"
|
files="./files"
|
||||||
|
|
||||||
if [ "${DEBUG}" == "1" ]; then
|
umount -R ${target}/boot/efi ${target}/boot ${target}/tmp/vinstaller/ ${target}/home ${target}
|
||||||
umount -R ${target}/boot/efi ${target}/boot ${target}/tmp/vinstaller/ ${target}/home ${target}
|
vgchange -an
|
||||||
vgchange -an
|
cryptsetup close /dev/mapper/luks*
|
||||||
cryptsetup close /dev/mapper/luks*
|
rm -rf $main
|
||||||
rm -rf $main
|
|
||||||
fi
|
|
||||||
if [ "${DEBUG}" == "2" ]; then
|
if [ "${DEBUG}" == "2" ]; then
|
||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user