summarylogtreecommitdiffstats
path: root/smarttrafficmeter.install
diff options
context:
space:
mode:
authorRafał Frączek2017-12-29 17:09:17 +0100
committerRafał Frączek2017-12-29 17:09:17 +0100
commita787da474c93ace4158b87af5771a3c87e2c3886 (patch)
treede06cdee662c278329f6d5f553b3f0daf717e945 /smarttrafficmeter.install
parent0526afb1b38f6122dd73d1f1b917f6922b1d47ec (diff)
downloadaur-a787da474c93ace4158b87af5771a3c87e2c3886.tar.gz
update
Diffstat (limited to 'smarttrafficmeter.install')
-rw-r--r--smarttrafficmeter.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/smarttrafficmeter.install b/smarttrafficmeter.install
index ef38816b193..a9ecabf2e20 100644
--- a/smarttrafficmeter.install
+++ b/smarttrafficmeter.install
@@ -33,4 +33,16 @@ post_upgrade() {
pre_remove() {
systemctl stop smarttrafficmeter
systemctl disable smarttrafficmeter
+ rm -r /etc/smarttrafficmeter
+ rm -r /var/log/smarttrafficmeter
+ echo "#####################################################################"
+ echo "# #"
+ echo "# Smart Traffic Meter has been uninstalled. #"
+ echo "# #"
+ echo "# The default databse directory /usr/share/smarttrafficmeter #"
+ echo "# has not been removed so that you can make database backup. #"
+ echo "# If you do not need the backup, #"
+ echo "# please remove this directory manually. #"
+ echo "# #"
+ echo "#####################################################################"
}