mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-29 15:12:21 +08:00
修复UOS且apt-fast下的提权错误
This commit is contained in:
parent
3b3bf8f0de
commit
3dae7db89a
@ -63,7 +63,7 @@ fi
|
||||
if [ "$DEPEND" != "" ] && [ "$isuos" != "" ]; then
|
||||
echo "UOS中系统依赖无法使用第三方下载工具,放弃使用apt-fast"
|
||||
echo ----------------------------------------------------------------------------------
|
||||
dpkg -i $1 || apt install -yf || dpkg -P $1
|
||||
echo "$upass" | sudo -S dpkg -i $1 || apt install -yf || dpkg -P $1
|
||||
fi
|
||||
|
||||
if [ "$DEPEND" != "" ] && [ "$isuos" = "" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user