progress
This commit is contained in:
parent
e4ffcf1167
commit
7ecbb47105
|
@ -5,7 +5,7 @@ err() {
|
|||
}
|
||||
|
||||
header() {
|
||||
if [ "$DEBUG" ]; then
|
||||
if [ "$DEBUG" == "1" ]; then
|
||||
echo please enter enter
|
||||
read
|
||||
fi
|
||||
|
|
4
main.sh
4
main.sh
|
@ -10,7 +10,7 @@ tmp_target="${main}/tmp_target"
|
|||
vars="${target}/tmp/vinstaller/vars"
|
||||
files="./files"
|
||||
|
||||
if [ "${DEBUG}" ]; then
|
||||
if [ "${DEBUG}" == "1" ]; then
|
||||
umount -R ${target}/boot/efi ${target}/boot ${target}/tmp/vinstaller/ ${target}/home ${target}
|
||||
vgchange -an
|
||||
cryptsetup close /dev/mapper/luks*
|
||||
|
@ -235,7 +235,7 @@ do_install() {
|
|||
for i in "${ignorepkgs[@]}"; do
|
||||
echo "ignorepkg=${i}" >> "${target}/etc/xbps.d/10-ignore-pkg.conf"
|
||||
done
|
||||
if [ "${DEBUG}" ]; then
|
||||
if [ "${DEBUG}" == "1" ]; then
|
||||
xbps-install -S -R https://alpha.de.repo.voidlinux.org/current -r "${target}" "${pkgs[@]}"
|
||||
else
|
||||
xbps-install -Sy -R https://alpha.de.repo.voidlinux.org/current -r "${target}" "${pkgs[@]}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user