mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
always check network on git update
This commit is contained in:
parent
7847d37774
commit
fd1c140bc1
2 changed files with 3 additions and 2 deletions
|
@ -38,6 +38,9 @@ while [ $# -gt 0 ]; do
|
||||||
done
|
done
|
||||||
_archboot_check
|
_archboot_check
|
||||||
if [[ -n "${_D_SCRIPTS}" ]]; then
|
if [[ -n "${_D_SCRIPTS}" ]]; then
|
||||||
|
_update_installer_check
|
||||||
|
_network_check
|
||||||
|
touch /.update
|
||||||
_download_latest
|
_download_latest
|
||||||
fi
|
fi
|
||||||
# Generate new environment and launch it with kexec
|
# Generate new environment and launch it with kexec
|
||||||
|
|
|
@ -124,8 +124,6 @@ _create_initramfs() {
|
||||||
|
|
||||||
_download_latest() {
|
_download_latest() {
|
||||||
# Download latest setup and quickinst script from git repository
|
# Download latest setup and quickinst script from git repository
|
||||||
_update_installer_check
|
|
||||||
touch /.update
|
|
||||||
echo -e "\e[1mStart:\e[m Downloading latest archboot from GIT master tree..."
|
echo -e "\e[1mStart:\e[m Downloading latest archboot from GIT master tree..."
|
||||||
[[ -d "${_INST}" ]] || mkdir "${_INST}"
|
[[ -d "${_INST}" ]] || mkdir "${_INST}"
|
||||||
# config
|
# config
|
||||||
|
|
Loading…
Reference in a new issue