summarylogtreecommitdiffstats
path: root/rescached-git.install
diff options
context:
space:
mode:
authorShulhan2018-09-08 19:08:31 +0700
committerShulhan2018-09-08 19:08:31 +0700
commite9690fd7ea4fff3f311d92ae12ea797ec9cc7bcf (patch)
tree3510b3b18caf53c6308d5677c0b5a4ffe19c552f /rescached-git.install
parent557c4d6569fe14bd8f9873292df0df2aac05e820 (diff)
downloadaur-e9690fd7ea4fff3f311d92ae12ea797ec9cc7bcf.tar.gz
Release candidate #1 for v2.0.0
Rewrite rescached from "C with class" to Go
Diffstat (limited to 'rescached-git.install')
-rw-r--r--rescached-git.install16
1 files changed, 4 insertions, 12 deletions
diff --git a/rescached-git.install b/rescached-git.install
index e932c887799..e546834c822 100644
--- a/rescached-git.install
+++ b/rescached-git.install
@@ -1,14 +1,6 @@
post_upgrade() {
- ## Remove old ads file
- [[ -f /etc/rescached/hosts.ads ]] \
- && rm -f /etc/rescached/hosts.ads
-
- ## Fix wrong systemd service
- [[ -f /etc/systemd/system/rescached.service ]] \
- && rm -f /etc/systemd/system/rescached.service
-
- systemctl daemon-reload
-
- echo ':: rescached service now installed in /usr/lib/systemd/system'
- echo ':: Please reenable the service if you want to start it at boot'
+ ## Remove old config
+ [[ -f /etc/rescached/rescached.cfg ]] && rm -f /etc/rescached/rescached.cfg
+ ## Remove old cache
+ [[ -f /var/cache/rescached/rescached.vos ]] && rm -f /var/cache/rescached/rescached.vos
}