summarylogtreecommitdiffstats
path: root/ethoscope-node.install
diff options
context:
space:
mode:
authorggilestro2019-06-24 17:58:42 +0100
committerggilestro2019-06-24 17:58:42 +0100
commite8c13431daa400b17b0637ea2420855aedb2b1f6 (patch)
treec4bca8b1171552a541dbeaac63f9f0360f3c6bcc /ethoscope-node.install
parent803068c6a741280a796c1456d3217a0f07fb7d33 (diff)
downloadaur-e8c13431daa400b17b0637ea2420855aedb2b1f6.tar.gz
Added cleaning at removal
Diffstat (limited to 'ethoscope-node.install')
-rw-r--r--ethoscope-node.install10
1 files changed, 6 insertions, 4 deletions
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
+}