Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 14th, 2011  |  syntax: Bash  |  size: 0.67 KB  |  views: 236  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }