修复UOS且apt-fast下的提权错误

This commit is contained in:
shenmo 2022-05-08 15:40:15 +00:00 committed by Gitee
parent 3b3bf8f0de
commit 3dae7db89a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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