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