mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
apt-fast相关改动:支持显示报错等
* feat: aptss支持显示报错 * feat: aptss部分提示汉化 * fix: 修复部分情况下ssinstall实际未安装但是错误显示
This commit is contained in:
@@ -326,7 +326,9 @@ get_uris(){
|
||||
uris_full_ret="$?"
|
||||
if [ "$uris_full_ret" -ne 0 ]
|
||||
then
|
||||
msg "Package manager quit with exit code." "warning"
|
||||
msg "Package manager quit with exit code.Here is the log" "warning"
|
||||
msg "包管理器以错误代码退出.日志如下" "warning"
|
||||
msg "${uris_full}"
|
||||
exit "$uris_full_ret"
|
||||
fi
|
||||
while read -r pkg_uri_info
|
||||
|
||||
@@ -28,6 +28,6 @@ fi
|
||||
DEBPATH=`realpath $1`
|
||||
|
||||
echo ----------------------------------------------------------------------------------
|
||||
dpkg -i "$DEBPATH" || aptss install -yf
|
||||
aptss install -yf --reinstall "$DEBPATH"
|
||||
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ if [ ! -z "$IS_MD5SUM_CHECKD" ];then
|
||||
|
||||
echo "校验成功,开始安装"
|
||||
echo ----------------------------------------------------------------------------------
|
||||
dpkg -i "$DEBPATH" || aptss install -yf
|
||||
aptss install -yf --reinstall "$DEBPATH"
|
||||
|
||||
else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user