优化 Debian 包管理,简化发行版配置
All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in -11s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -5s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in -1s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 8s
Build and Release / release (push) Successful in 37s

- CI:简化 Debian 包发布流程,统一使用 stable 发行版
- 移除 bookworm 和 trixie 多发行版支持,简化维护
- postinst:优化安装完成提示,提供清晰的配置和启动步骤
- postrm/prerm:改进卸载和升级前的清理逻辑
- README:更新安装说明,使用 stable 仓库
- install.deb.sh:同步更新仓库配置
This commit is contained in:
2025-12-25 10:38:40 +08:00
parent 20935a6c89
commit 9e30226769
6 changed files with 70 additions and 77 deletions

View File

@@ -53,7 +53,7 @@ get_arch() {
# 添加 APT 源并更新
add_apt_repository() {
echo "deb [trusted=yes] https://${GITEA_SERVER}/api/packages/${GITEA_OWNER}/debian bookworm main" \
echo "deb [trusted=yes] https://${GITEA_SERVER}/api/packages/${GITEA_OWNER}/debian stable main" \
>/etc/apt/sources.list.d/xxxigcc.list
apt-get update -qq
}