From 338a3f5d9363f4156eea069c28a51c8972d3cabc Mon Sep 17 00:00:00 2001 From: shenmo Date: Tue, 28 Oct 2025 11:14:15 +0000 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=20apm=20show=20=E6=8C=87?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shenmo --- src/DEBIAN/control | 2 +- src/usr/bin/apm | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/DEBIAN/control b/src/DEBIAN/control index 2fce850..4e8e91c 100755 --- a/src/DEBIAN/control +++ b/src/DEBIAN/control @@ -1,6 +1,6 @@ Package: apm Source: amber-ce -Version: 1.0.10 +Version: 1.1.0 Architecture: amd64 Maintainer: shenmo Installed-Size: 48724 diff --git a/src/usr/bin/apm b/src/usr/bin/apm index 7acbe52..bae98bd 100755 --- a/src/usr/bin/apm +++ b/src/usr/bin/apm @@ -1,5 +1,5 @@ #!/bin/bash -VERSION=1.0.10 +VERSION=1.1.0 # 获取脚本名称用于帮助信息 SCRIPT_NAME=$(basename "$0") PATH_PREFIX=/var/lib/apm/apm/files/ace-env/ @@ -25,6 +25,7 @@ Commands: list 查看可用软件包信息 search 搜索软件包 download 下载包 + show 展示包信息 clean 清除缓存软件包 autoremove 自动移除不需要的包 full-upgrade 完全升级软件包 @@ -229,7 +230,7 @@ case "$1" in apm-nvidia-toggle amber-pm-gxde-desktop-fix ;; - download|search|policy|list|update|clean) + download|search|policy|list|update|clean|show) command=$1 shift amber-pm-debug aptss "$command" "$@"