diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rwxr-xr-x | PKGBUILD | 2 | ||||
-rw-r--r-- | xampp.install | 9 |
3 files changed, 10 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue Mar 29 12:49:14 UTC 2016 +# Wed Mar 30 21:47:36 UTC 2016 pkgbase = xampp pkgdesc = A free and open source cross-platform web server package (LAMP Stack), consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages pkgver = 5.6.19 - pkgrel = 2 + pkgrel = 3 url = http://www.apachefriends.org/ install = xampp.install arch = i686 @@ -3,7 +3,7 @@ # Contributor: Thiago Perrotta <echo dGhpYWdvcGVycm90dGE5NUBnbWFpbC5jb20K | base64 -d > pkgname=xampp pkgver=5.6.19 -pkgrel=2 +pkgrel=3 pkgdesc="A free and open source cross-platform web server package (LAMP Stack), consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages" url="http://www.apachefriends.org/" license=('GPL') diff --git a/xampp.install b/xampp.install index 4530f24752d9..775dc3cd77cf 100644 --- a/xampp.install +++ b/xampp.install @@ -8,10 +8,15 @@ post_install() { pre_upgrade() { /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" + cp -r /opt/lampp/ /opt/lampp_backup + echo "Your /opt/lampp/ folder were backed up to /opt/lampp/htdocs_backup" } + post_upgrade() { + echo "REMEMBER: Your /opt/lampp folder were backed up to /opt/lampp_backup" + echo "Restore manually the needed configuration files." + } + pre_remove() { echo "Stopping lampp services" |