aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Williamson2017-03-27 14:53:12 -0400
committerMike Williamson2017-03-27 14:53:12 -0400
commit46109c0ae0637fd57e38a4ab79618360d8f17c21 (patch)
tree22abfb2be4c7cb4ae983e538694e0ef9e1684503
parentafa3ababe1e288dc7a56519f72359d176dda10d1 (diff)
downloadaur-46109c0ae0637fd57e38a4ab79618360d8f17c21.tar.gz
Remove rm commands from post_remove
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--arangodb.install15
3 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4ce8bb02871f..21fefec644f2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = arangodb
pkgdesc = A multi-model NoSQL database, combining key-value, document and graph data models.
pkgver = 3.1.14
- pkgrel = 5
+ pkgrel = 6
url = https://www.arangodb.com/
install = arangodb.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 78d609747eb9..46309ca50b08 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=arangodb
pkgver=3.1.14
-pkgrel=5
+pkgrel=6
pkgdesc="A multi-model NoSQL database, combining key-value, document and graph data models."
arch=("i686" "x86_64" "armv7l" "armv7h")
url="https://www.arangodb.com/"
diff --git a/arangodb.install b/arangodb.install
index f28c82c71cb3..edec1f7ee67c 100644
--- a/arangodb.install
+++ b/arangodb.install
@@ -61,8 +61,12 @@ EOF
post_upgrade() {
cat <<-EOF
- Take a look at the Changelog to see what is new in $1:
+
+ ArangoDB has been upgraded to $1.
+
+ Take a look at the Changelog to see what is new:
https://github.com/arangodb/arangodb/blob/devel/CHANGELOG
+
EOF
}
@@ -71,12 +75,13 @@ pre_remove() {
}
post_remove() {
- # remove all the files
- rm -rf /usr/share/arangodb3
- rm -rf /var/log/arangodb3
- rm -rf /var/lib/arangodb3-apps
cat <<-EOF
+
ArangoDB has been uninstalled.
+
Any data you had stored in ArangoDB is still available in /var/lib/arangodb3.
+ Installed Foxx applications are still available in /var/lib/arangodb3-apps.
+ Log files are left in /var/log/arangodb3.
+
EOF
}