updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / xampp / xampp.install
blob00b1bdc319ed2ac99e3d690b1791cce7363c04a2
1 post_install() {
2     echo "XAMPP is now installed below the /opt/lampp directory"
3     echo "To start, stop or restart XAMPP simply call the command:"
4     echo "     lampp {start, stop, restart} or xampp {start, stop, restart}"
5     echo "Then you can check that everything really works, Just enter the following URL at your web browser:"
6     echo "     http://localhost"
9 pre_upgrade() {
10    /opt/lampp/lampp stop >/dev/null 2>&1
11  }
14 pre_remove() {
15   /opt/lampp/lampp stop >/dev/null 2>&1
16   cp -r /opt/lampp/htdocs /opt/lampp/htdocs_backup
17   echo "Your htdocs folder were backed up to /opt/lampp/htdocs_backup"
20 post_remove() {
21   rm -rf /opt/lampp/{etc,var}