mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
renew: sh -c instead of $TERMINAL -e
This commit is contained in:
parent
1c3305af4c
commit
ec40703b28
2 changed files with 6 additions and 4 deletions
|
@ -59,7 +59,7 @@ Type=Application
|
|||
Name=$get_name
|
||||
releases=$releases
|
||||
replace='\"!\"'
|
||||
Exec=sh -c 'cd "$QUICKEMU_VMS_DIR" && yad --form --field=\"Release:CB\" \"${releases// /$replace}\" | cut -d\"|\" -f1 | xargs -I{} $TERMINAL -e \"quickget $get_name {}\"'
|
||||
Exec=sh -c 'cd "$QUICKEMU_VMS_DIR" && yad --form --field=\"Release:CB\" \"${releases// /$replace}\" | cut -d\"|\" -f1 | xargs -I{} sh -c \"quickget $get_name {}\"'
|
||||
Icon=$icon_file
|
||||
Categories=System;Virtualization;"
|
||||
echo "$desktop_file_content" > "$CONFIG_DIR"/vms_supported/"$vm_desktop_file".desktop
|
||||
|
@ -71,7 +71,7 @@ Name=$get_name
|
|||
releases=$releases
|
||||
editions=$editions
|
||||
replace=$replace
|
||||
Exec=sh -c 'cd \"$QUICKEMU_VMS_DIR\" && yad --form --separator=\" \" --field=\"Release:CB\" \"${releases// /$replace}\" --field=\"Edition:CB\" \"${editions// /$replace}\" | xargs -I{} $TERMINAL -e \"quickget $get_name {}\"'
|
||||
Exec=sh -c 'cd \"$QUICKEMU_VMS_DIR\" && yad --form --separator=\" \" --field=\"Release:CB\" \"${releases// /$replace}\" --field=\"Edition:CB\" \"${editions// /$replace}\" | xargs -I{} sh -c \"quickget $get_name {}\"'
|
||||
Icon=$icon_file
|
||||
Categories=System;Virtualization;"
|
||||
echo "$desktop_file_content" > "$CONFIG_DIR"/vms_supported/"$vm_desktop_file".desktop
|
||||
|
|
6
quickget
6
quickget
|
@ -1158,10 +1158,12 @@ function get_centos-stream() {
|
|||
function get_cereus() {
|
||||
local HASH=""
|
||||
local ISO=""
|
||||
local URL=""
|
||||
local URL="https://sourceforge.net/projects/cereus-linux/files/isos/beta/${RELEASE}/${EDITION}"
|
||||
local DATE=""
|
||||
DATE=$(wget -q -O- "${URL}/SHA256" | cut -d' ' -f3 | grep "${EDITION}")
|
||||
case ${EDITION} in
|
||||
base)
|
||||
ISO="cereus-beta-live-x86_64-xfce-2023.02.17.iso"
|
||||
ISO="cereus-beta-live-x86_64-xfce-${DATE}.iso"
|
||||
URL="https://sourceforge.net/projects/cereus-linux/files/isos/beta/latest/base"
|
||||
HASH=$(wget -q -O- ${URL}/SHA256 | grep "${ISO}" | cut -d' ' -f2)
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue