blob: 00da42e21efbd2631fe08ece001fee40a9425113 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
post_install() {
useradd -r -d /etc/sogo sogo &>/dev/null
mkdir -p /var/log/sogo
chown -R sogo:sogo /etc/sogo /var/log/sogo
/usr/sbin/systemctl daemon-reload
echo "NOTE: If migrating from a version of SOGo prior to 2.3.0, you must run the SQL"
echo "update script(s) for your SQL server, located in /usr/lib/sogo/scripts."
echo "Please consult the documentation before doing so."
}
pre_remove() {
userdel sogo
groupdel sogo
}
post_upgrade() {
/usr/sbin/systemctl daemon-reload
echo "NOTE: If upgrading SOGo, you must run the SQL update script(s)"
echo "applicable to your upgrade, located in /usr/lib/sogo/scripts."
echo "Please consult the documentation before doing so."
}
|