From b9bd4552e551e0221132278b6e942ebc4a84e358 Mon Sep 17 00:00:00 2001 From: shenmo Date: Wed, 6 May 2026 20:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=88=E6=AD=A2=E5=BC=BA=E5=88=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=95=B0=E6=8D=AE=E5=BA=93=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?APM=E5=BA=94=E7=94=A8=E4=BC=98=E5=85=88=E7=BA=A7=E9=87=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/usr/bin/amber-pm-desktop-fix | 7 ------- src/usr/bin/amber-pm-upgrade-notifier | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/usr/bin/amber-pm-desktop-fix b/src/usr/bin/amber-pm-desktop-fix index 6bbf8a2..b0d80e5 100755 --- a/src/usr/bin/amber-pm-desktop-fix +++ b/src/usr/bin/amber-pm-desktop-fix @@ -144,10 +144,3 @@ if ! grep -q "Kylin" /etc/os-release; then fi fi -# 更新桌面数据库 -if command -v update-desktop-database >/dev/null 2>&1; then - echo "正在更新桌面数据库..." - update-desktop-database "$TARGET_BASE/applications/" -else - echo "警告: update-desktop-database 命令未找到" -fi \ No newline at end of file diff --git a/src/usr/bin/amber-pm-upgrade-notifier b/src/usr/bin/amber-pm-upgrade-notifier index 80ee417..158d77b 100755 --- a/src/usr/bin/amber-pm-upgrade-notifier +++ b/src/usr/bin/amber-pm-upgrade-notifier @@ -82,6 +82,7 @@ done # 每日更新星火源文件 apm autoremove -y +apm clean exit ###########################################################################