blob: 0519322b1f88a3482b012d8a2e3ec1e5a3b029ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
## arg 1: the new package version
pre_install() {
echo ""
}
## arg 1: the new package version
post_install() {
systemctl --user daemon-reload
echo "You must enable systemd unit org.lang815.switch with the next command :"
echo "systemctl --user enable --now org.lang815.switch"
}
## arg 1: the new package version
## arg 2: the old package version
pre_upgrade() {
echo ""
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
systemctl --user daemon-reload
}
## arg 1: the old package version
pre_remove() {
systemctl --user disable --now org.lang815.switch
}
## arg 1: the old package version
post_remove() {
systemctl --user daemon-reload
}
|