blob: 1cf835961868eb15017331848184ca74e3606891 (
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
|
post_install()
{
cat <<EOF
To change the default admin password run
lxdui user update -u admin [-p password]
To start LXDUI, run
systemctl start lxdui
To enable LXDUI at boot, run
systemctl enable lxdui
EOF
}
post_upgrade()
{
find /usr/lib/lxdui/lib -name __pycache__ -exec rm -rf {} \; 2>/dev/null
systemctl daemon-reload
}
pre_remove()
{
systemctl disable --now lxdui
find /usr/lib/lxdui/lib -name __pycache__ -exec rm -rf {} \; 2>/dev/null
}
|