Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- post_install() {
- echo "XAMPP is now installed below the /opt/lampp directory"
- echo "To start, stop or restart XAMPP simply call the command:"
- echo " lampp {start, stop, restart} or xampp {start, stop, restart}"
- echo "Then you can check that everything really works, Just enter the following URL at your web browser:"
- echo " http://localhost"
- }
- pre_upgrade() {
- /opt/lampp/lampp stop >/dev/null 2>&1
- }
- pre_remove() {
- /opt/lampp/lampp stop >/dev/null 2>&1
- cp -r /opt/lampp/htdocs /opt/lampp/htdocs_backup
- echo "Your htdocs folder were backed up to /opt/lampp/htdocs_backup"
- }
- post_remove() {
- rm -rf /opt/lampp/{etc,var}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement