mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Add Mageia
This commit is contained in:
parent
ce38ebdada
commit
f97ceeabe9
5 changed files with 23 additions and 0 deletions
|
@ -385,6 +385,8 @@ All the official Ubuntu flavours are supported, just replace
|
|||
.IP \[bu] 2
|
||||
\f[V]lmde\f[R] (Linux Mint Debian Edition)
|
||||
.IP \[bu] 2
|
||||
\f[V]mageia\f[R] (Mageia)
|
||||
.IP \[bu] 2
|
||||
\f[V]manjaro\f[R] (Manjaro)
|
||||
.IP \[bu] 2
|
||||
\f[V]mxlinux\f[R] (MX Linux)
|
||||
|
|
|
@ -284,6 +284,7 @@ with your preferred flavour.
|
|||
- `kolibrios` (KolibriOS)
|
||||
- `linuxmint` (Linux Mint)
|
||||
- `lmde` (Linux Mint Debian Edition)
|
||||
- `mageia` (Mageia)
|
||||
- `manjaro` (Manjaro)
|
||||
- `mxlinux` (MX Linux)
|
||||
- `netboot` (netboot.xyz)
|
||||
|
|
|
@ -167,6 +167,8 @@ All the official Ubuntu flavours are supported, just replace
|
|||
.IP \[bu] 2
|
||||
\f[V]lmde\f[R] (Linux Mint Debian Edition)
|
||||
.IP \[bu] 2
|
||||
\f[V]mageia\f[R] (Mageia)
|
||||
.IP \[bu] 2
|
||||
\f[V]manjaro\f[R] (Manjaro)
|
||||
.IP \[bu] 2
|
||||
\f[V]mxlinux\f[R] (MX Linux)
|
||||
|
|
|
@ -116,6 +116,7 @@ with your preferred flavour.
|
|||
- `kolibrios` (KolibriOS)
|
||||
- `linuxmint` (Linux Mint)
|
||||
- `lmde` (Linux Mint Debian Edition)
|
||||
- `mageia` (Mageia)
|
||||
- `manjaro` (Manjaro)
|
||||
- `mxlinux` (MX Linux)
|
||||
- `netboot` (netboot.xyz)
|
||||
|
|
17
quickget
17
quickget
|
@ -49,6 +49,7 @@ function pretty_name() {
|
|||
kolibrios) PRETTY_NAME="KolibriOS";;
|
||||
linuxmint) PRETTY_NAME="Linux Mint";;
|
||||
lmde) PRETTY_NAME="Linux Mint Debian Edition";;
|
||||
mageia) PRETTY_NAME="Mageia";;
|
||||
mxlinux) PRETTY_NAME="MX Linux";;
|
||||
netboot) PRETTY_NAME="netboot.xyz";;
|
||||
netbsd) PRETTY_NAME="NetBSD";;
|
||||
|
@ -189,6 +190,7 @@ function os_support() {
|
|||
kubuntu \
|
||||
linuxmint \
|
||||
lmde \
|
||||
mageia \
|
||||
manjaro \
|
||||
mxlinux \
|
||||
netboot \
|
||||
|
@ -398,6 +400,14 @@ function releases_lmde(){
|
|||
echo 5
|
||||
}
|
||||
|
||||
function releases_mageia(){
|
||||
echo 8
|
||||
}
|
||||
|
||||
function editions_mageia(){
|
||||
echo Plasma GNOME Xfce
|
||||
}
|
||||
|
||||
function releases_mxlinux(){
|
||||
echo 21.2.1
|
||||
}
|
||||
|
@ -1303,6 +1313,13 @@ function get_macos() {
|
|||
make_vm_config RecoveryImage.img
|
||||
}
|
||||
|
||||
function get_mageia() {
|
||||
local EDITION="${1:-}"
|
||||
local ISO=$(wget -q https://www.mageia.org/en/downloads/get/?q="Mageia-${RELEASE}-Live-${EDITION}-x86_64.iso" -O- | grep 'click here'| grep -o 'href=.*\.iso'|cut -d\" -f2)
|
||||
local HASH=$(wget -q -O- "${ISO}.sha512" | cut -d' ' -f1)
|
||||
echo "${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
function get_manjaro() {
|
||||
local HASH=""
|
||||
local ISO=""
|
||||
|
|
Loading…
Reference in a new issue