1 # arg 1: the new package version
4 useradd -m -g plone -d /opt/Plone plone
9 chown plone:plone /opt/Plone/ -R
11 echo "==> Installing Plone, it takes a while ... "
12 su - plone -c "*-UnifiedInstaller/install.sh standalone | grep -e Username -e Password > adminlogin.txt"
16 echo "==> Setup done, your login credentials are:"
17 cat /opt/Plone/adminlogin.txt
18 echo " (adminlogin.txt)"
22 echo "==> Add 'plone' to the DAEMONS array"
23 echo "==> in /etc/rc.conf"
24 echo "==> to start Plone automatically."
26 chown plone:plone /opt/Plone/ -R
29 # arg 1: the new package version
30 # arg 2: the old package version
35 # arg 1: the old package version
41 echo "Removing user and group 'plone'"