diff --git a/install/iventoy-install.sh b/install/iventoy-install.sh index 02601d7e..3c3e3953 100644 --- a/install/iventoy-install.sh +++ b/install/iventoy-install.sh @@ -21,7 +21,7 @@ msg_ok "Installed Dependencies" RELEASE=$(curl -s https://api.github.com/repos/ventoy/pxe/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') msg_info "Installing iVentoy v${RELEASE}" -mkdir -p /opt/iventoy/ +mkdir -p /opt/iventoy/{data,iso} wget -q https://github.com/ventoy/PXE/releases/download/v${RELEASE}/iventoy-${RELEASE}-linux-free.tar.gz tar -C /tmp -xzf iventoy*.tar.gz mv /tmp/iventoy*/* /opt/iventoy/ @@ -55,4 +55,4 @@ customize msg_info "Cleaning up" $STD apt-get -y autoremove $STD apt-get -y autoclean -msg_ok "Cleaned" \ No newline at end of file +msg_ok "Cleaned"