支持 apm show 指令

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2025-10-28 11:14:15 +00:00
committed by Gitee
parent 48b0b0b5a1
commit 338a3f5d93
2 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
Package: apm
Source: amber-ce
Version: 1.0.10
Version: 1.1.0
Architecture: amd64
Maintainer: shenmo <shenmo@spark-app.store>
Installed-Size: 48724

View File

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