add check to correct function

This commit is contained in:
Tobias Powalowski 2023-08-02 15:15:43 +02:00
parent 1bdf1c7a3d
commit 9bc6e8e522

View file

@ -115,10 +115,10 @@ _create_initramfs() {
} }
_download_latest() { _download_latest() {
_update_installer_check
touch /.update
# Download latest setup and quickinst script from git repository # Download latest setup and quickinst script from git repository
if [[ -n "${_D_SCRIPTS}" ]]; then if [[ -n "${_D_SCRIPTS}" ]]; then
_update_installer_check
touch /.update
_network_check _network_check
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}"