修改如下

1. 支持滚动更新功能,自动跟随到最新的上游
2. 添加了systemd依赖和一个systemd服务,会在安装后启动(修改了postinst/rm)
This commit is contained in:
2024-01-29 23:01:41 +08:00
parent 081203e0d4
commit 574da47849
9 changed files with 202 additions and 3 deletions

View File

@@ -1,5 +1,13 @@
#!/bin/bash
PACKAGE_NAME="$DPKG_MAINTSCRIPT_PACKAGE"
if [ "${PACKAGE_NAME}" = "cn.flamescion.bookworm-compatibility-mode" ];then
systemctl stop ace-auto-upgrade
systemctl disable ace-auto-upgrade
fi
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
echo "清理卸载残留"
@@ -9,3 +17,5 @@ else
echo "非卸载,跳过清理"
fi