mirror of
https://github.com/akatsukiro/lsky-pro-install-script.git
synced 2025-06-08 05:53:04 +08:00
fix: 安装程序时双引号导致的包名检索失败
This commit is contained in:
parent
101da24e35
commit
bf495185ff
@ -60,8 +60,8 @@ pre_check() {
|
|||||||
|
|
||||||
|
|
||||||
install_soft() {
|
install_soft() {
|
||||||
(command -v apt >/dev/null 2>&1 && apt update && apt 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)
|
(command -v apt-get >/dev/null 2>&1 && apt-get update && apt-get install $* -y)
|
||||||
}
|
}
|
||||||
|
|
||||||
install_base() {
|
install_base() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user