blob: 73e304521d1b52209a8817daa79d151b6ca3c6bd (
plain)
1
2
3
4
5
6
7
8
9
10
|
post_upgrade() {
OLD=$(echo $2 | sed "s/\(.*\)\.\(.*\)\.\(.*\)\.\(.*\)/\1\.\2.\3/g")
NEW=$(echo $1 | sed "s/\(.*\)\.\(.*\)\.\(.*\)\.\(.*\)/\1\.\2.\3/g")
if [ $OLD == "1.3.5" -a $NEW == "1.3.6" ]; then
echo ">> NOTICE: UPGRADE TO 1.3.6"
echo "This update renames the systemd files"
echo "Stop the old services and start the new ones with:"
echo "systemctl stop 389-ds-base.target; systemctl daemon-reload; systemctl start dirsrv.target"
fi
}
|