Update iventoy-install.sh

create `data` and `iso` directories.
pull/3018/head
tteckster 6 months ago committed by GitHub
parent 1b842f22cf
commit 0cd751d75c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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"
msg_ok "Cleaned"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.