mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Refactor get_kdeneon() to add create_vm() compatibility
This commit is contained in:
parent
11aa53d64d
commit
facb15b0d2
1 changed files with 2 additions and 5 deletions
7
quickget
7
quickget
|
@ -867,14 +867,11 @@ function get_kali() {
|
|||
function get_kdeneon() {
|
||||
local HASH=""
|
||||
local ISO=""
|
||||
local URL=""
|
||||
local URL="https://files.kde.org/neon/images/${RELEASE}/current"
|
||||
|
||||
URL="https://files.kde.org/neon/images/${RELEASE}/current"
|
||||
ISO=$(wget -q -O- "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f3-)
|
||||
HASH=$(wget -q -O- "${URL}/neon-${RELEASE}-current.sha256sum" | cut -d' ' -f1)
|
||||
web_get "${URL}/${ISO}" "${VM_PATH}"
|
||||
check_hash "${ISO}" "${HASH}"
|
||||
make_vm_config "${ISO}"
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
function get_kolibrios() {
|
||||
|
|
Loading…
Reference in a new issue