diff options
author | ggilestro | 2019-06-24 17:58:42 +0100 |
---|---|---|
committer | ggilestro | 2019-06-24 17:58:42 +0100 |
commit | e8c13431daa400b17b0637ea2420855aedb2b1f6 (patch) | |
tree | c4bca8b1171552a541dbeaac63f9f0360f3c6bcc | |
parent | 803068c6a741280a796c1456d3217a0f07fb7d33 (diff) | |
download | aur-e8c13431daa400b17b0637ea2420855aedb2b1f6.tar.gz |
Added cleaning at removal
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | ethoscope-node.install | 10 |
3 files changed, 8 insertions, 6 deletions
@@ -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 @@ -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 +} |