blob: 2b155f3504e8707279ea3c665c384279aed05b21 (
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
|
post_install() {
if systemctl -q is-active runsunloginclient.service ;then
systemctl restart runsunloginclient.service
fi
ECHOLEN=$(echo -e|awk '{print length($0)}')
if [ ${ECHOLEN} = '0' ]
then
ECHO='echo -e'
else
ECHO='echo'
fi
$ECHO "\033[36m*************************************************************************\033[0m"
$ECHO "\033[36m* sunlogin daemon service must be running for sunloginclient to work *\033[0m"
$ECHO "\033[36m* Type: systemctl start runsunloginclient.service *\033[0m"
$ECHO "\033[36m*************************************************************************\033[0m"
}
post_upgrade() {
post_install
}
# vim: ts=2 sw=2 et:
|