mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-18 09:02:21 +08:00
apt-fast相关改动:支持显示报错等
* feat: aptss支持显示报错 * feat: aptss部分提示汉化 * fix: 修复部分情况下ssinstall实际未安装但是错误显示
This commit is contained in:
parent
539a21ccec
commit
69b7cbe472
8
debian/changelog
vendored
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
|
spark-store (4.1.2) stable; urgency=medium
|
||||||
|
|
||||||
* feat: 初步的wayland支持
|
* feat: 初步的wayland支持
|
||||||
|
@ -15,7 +15,7 @@ DWIDGET_USE_NAMESPACE
|
|||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
// Get build time
|
// 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 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 QTime buildTime = QTime::fromString(__TIME__, "hh:mm:ss");
|
||||||
static const QString buildDateTime = buildDate.toString("yyyy.MM.dd") + "-" + buildTime.toString("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="$?"
|
uris_full_ret="$?"
|
||||||
if [ "$uris_full_ret" -ne 0 ]
|
if [ "$uris_full_ret" -ne 0 ]
|
||||||
then
|
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"
|
exit "$uris_full_ret"
|
||||||
fi
|
fi
|
||||||
while read -r pkg_uri_info
|
while read -r pkg_uri_info
|
||||||
|
@ -28,6 +28,6 @@ fi
|
|||||||
DEBPATH=`realpath $1`
|
DEBPATH=`realpath $1`
|
||||||
|
|
||||||
echo ----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
dpkg -i "$DEBPATH" || aptss install -yf
|
aptss install -yf --reinstall "$DEBPATH"
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ if [ ! -z "$IS_MD5SUM_CHECKD" ];then
|
|||||||
|
|
||||||
echo "校验成功,开始安装"
|
echo "校验成功,开始安装"
|
||||||
echo ----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
dpkg -i "$DEBPATH" || aptss install -yf
|
aptss install -yf --reinstall "$DEBPATH"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user