fix: 安装程序时双引号导致的包名检索失败

This commit is contained in:
Akatsukiro 2024-01-16 15:04:08 +08:00
parent 101da24e35
commit bf495185ff
Signed by: Akatsukiro
GPG Key ID: 93F1D32999999999

View File

@ -60,8 +60,8 @@ pre_check() {
install_soft() {
(command -v apt >/dev/null 2>&1 && apt update && apt install "$*" -y) ||
(command -v apt-get >/dev/null 2>&1 && apt-get update && apt-get install "$*" -y)
(command -v apt >/dev/null 2>&1 && apt update && apt install $* -y) ||
(command -v apt-get >/dev/null 2>&1 && apt-get update && apt-get install $* -y)
}
install_base() {