Update main_menu2.sh

This commit is contained in:
MacRimi 2025-01-29 23:06:53 +01:00 committed by GitHub
parent 4579825331
commit ac5c72b388
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,7 +163,8 @@ show_storage_menu() {
case $OPTION in case $OPTION in
1) 1)
msg_info "$(translate "Running script:") $(translate "Disk Passthrough")..." echo -e "\033[33m[INFO] $(translate "Running script:") $(translate "Disk Passthrough")...\033[0m"
bash <(curl -s "$REPO_URL/scripts/disk-passthrough.sh") bash <(curl -s "$REPO_URL/scripts/disk-passthrough.sh")
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
msg_info "$(translate "Operation cancelled.")" msg_info "$(translate "Operation cancelled.")"
@ -171,7 +172,7 @@ show_storage_menu() {
fi fi
;; ;;
2) 2)
msg_info "$(translate "Running script:") $(translate "Import Disk Image")..." echo -e "\033[33m[INFO] $(translate "Running script:") $(translate "Import Disk Image")...\033[0m"
bash <(curl -s "$REPO_URL/scripts/import-disk-image.sh") bash <(curl -s "$REPO_URL/scripts/import-disk-image.sh")
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
msg_info "$(translate "Operation cancelled.")" msg_info "$(translate "Operation cancelled.")"