apt-fast相关改动:支持显示报错等

* feat: aptss支持显示报错

  * feat: aptss部分提示汉化

  * fix: 修复部分情况下ssinstall实际未安装但是错误显示
This commit is contained in:
shenmo 2023-01-06 23:30:05 +08:00
parent 539a21ccec
commit 69b7cbe472
5 changed files with 14 additions and 4 deletions

8
debian/changelog vendored

@ -1,3 +1,11 @@
spark-store (4.2~test1) stable; urgency=medium
* feat: aptss支持显示报错
* feat: aptss部分提示汉化
* fix: 修复部分情况下ssinstall实际未安装但是错误显示
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
spark-store (4.1.2) stable; urgency=medium
* feat: 初步的wayland支持

@ -15,7 +15,7 @@ DWIDGET_USE_NAMESPACE
int main(int argc, char *argv[])
{
// Get build time
static const QString version = "4.1.2";
static const QString version = "4.2~test1";
static const QDate buildDate = QLocale(QLocale::English).toDate(QString(__DATE__).replace(" ", " 0"), "MMM dd yyyy");
static const QTime buildTime = QTime::fromString(__TIME__, "hh:mm:ss");
static const QString buildDateTime = buildDate.toString("yyyy.MM.dd") + "-" + buildTime.toString("hh:mm:ss");

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