summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--ethoscope-node.install10
3 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 73f4f18b868..32418253215 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ethoscope-node
pkgdesc = A platform from monitoring animal behaviour in real time from a raspberry pi
pkgver = r1702.g1c43fc3
- pkgrel = 1
+ pkgrel = 2
url = http://lab.gilest.ro/ethoscope
install = ethoscope-node.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index d526d8ef682..d60ab474253 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ethoscope-node
pkgver=r1702.g1c43fc3
-pkgrel=1
+pkgrel=2
pkgdesc="A platform from monitoring animal behaviour in real time from a raspberry pi"
arch=('any')
url="http://lab.gilest.ro/ethoscope"
diff --git a/ethoscope-node.install b/ethoscope-node.install
index f72c68cce20..c61c5e3ddc9 100644
--- a/ethoscope-node.install
+++ b/ethoscope-node.install
@@ -43,7 +43,9 @@ pre_remove() {
}
-## arg 1: the old package version
-#post_remove() {
- # do something here
-#}
+# arg 1: the old package version
+post_remove() {
+ #removes the git directorie just in case
+ rm -rf /opt/ethoscope-node
+ rm -rf /srv/git/ethoscope.git
+}