blob: 9367177c3c1673396045892f7fe0ac7be84f9528 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install(){
pkexec bash /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/ace-init
systemctl enable --now ace-bookworm-auto-upgrade.service
echo "This package will be replaced by amber-ce-bookworm, please remove this package and install amber-ce-bookworm"
echo "这个包将会被 amber-ce-bookworm 替代,请卸载此包,安装 amber-ce-bookworm"
}
post_upgrade(){
pkexec bash /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/ace-init
systemctl enable --now ace-bookworm-auto-upgrade.service
echo "This package will be replaced by amber-ce-bookworm"
echo "这个包将会被 amber-ce-bookworm 替代"
}
post_remove(){
rm -f /usr/bin/bookworm-run
rm -f /usr/bin/ace-uninstall-helper
rm -f /usr/bin/ace-uninstall-helper-gui
rm -rf /opt/apps/cn.flamescion.bookworm-compatibility-mode
}
|