修复无法定位软件包 virtualbox-6.1的问题

This commit is contained in:
2022-11-06 10:18:12 +08:00
parent b1673b5753
commit d8a92fab02
2 changed files with 65 additions and 30 deletions

View File

@@ -8,10 +8,10 @@
# 基于 Python3 的 tkinter 构建
###########################################################################################
cd `dirname $0`
which VBoxManage
which VBoxManage1
if test $? == 0 ; then
VM/VirtualMachine
exit
fi
echo 未安装 VirtualBox开始安装安装结束重新运行即可
./launch.sh deepin-terminal -C "pkexec apt install virtualbox-6.1 -y && zenity --info --text=\"安装完毕,关闭此对话框和安装终端重新运行程序即可\" --no-wrap" --keep-open
zenity --info --no-wrap --text="未安装 VirtualBox请自行安装 VirtualBox 并重新运行"
#./launch.sh deepin-terminal -C "pkexec apt install virtualbox-6.1 -y && zenity --info --text=\"安装完毕,关闭此对话框和安装终端重新运行程序即可\" --no-wrap" --keep-open