Advertisement
Guest User

Untitled

a guest
Mar 14th, 2011
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  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"
  7. }
  8.  
  9. pre_upgrade() {
  10.    /opt/lampp/lampp stop >/dev/null 2>&1
  11.  }
  12.  
  13.  
  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"
  18. }
  19.  
  20. post_remove() {
  21.   rm -rf /opt/lampp/{etc,var}
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement