summarylogtreecommitdiffstats
path: root/amber-ce-bookworm.install
blob: 4f32dd217e18d7da8e068eb91f896388d28830d8 (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 daemon-reload
systemctl enable --now ace-bookworm-auto-upgrade.service
systemctl reload apparmor
}

post_upgrade(){
pkexec bash /opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/ace-init
systemctl daemon-reload
systemctl enable --now ace-bookworm-auto-upgrade.service
systemctl reload apparmor
}

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
}