summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheLoko2016-03-29 14:50:13 +0200
committerTheLoko2016-03-29 14:50:13 +0200
commit2de4f66a823776e29274f00b0f7994cd47d65f30 (patch)
tree7f3af7458f56566bcd2978bb6e8855bad8db10cc
parent5c3e085edf2c2fb2d2f657aa7a9fdd535d4b3774 (diff)
downloadaur-2de4f66a823776e29274f00b0f7994cd47d65f30.tar.gz
Create a backup folder before update
-rw-r--r--.SRCINFO4
-rwxr-xr-xPKGBUILD2
-rw-r--r--xampp.install2
3 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0d94cfe64983..18103ec6c9ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Mar 29 07:48:41 UTC 2016
+# Tue Mar 29 12:49:14 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 = 1
+ pkgrel = 2
url = http://www.apachefriends.org/
install = xampp.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 0dd41e13b50c..fbe04727891c 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Thiago Perrotta <echo dGhpYWdvcGVycm90dGE5NUBnbWFpbC5jb20K | base64 -d >
pkgname=xampp
pkgver=5.6.19
-pkgrel=1
+pkgrel=2
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 d4a156a28a72..4530f24752d9 100644
--- a/xampp.install
+++ b/xampp.install
@@ -8,6 +8,8 @@ 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"
}