diff options
author | Marius Knaust | 2017-03-12 17:02:50 +0100 |
---|---|---|
committer | Marius Knaust | 2017-03-12 17:02:50 +0100 |
commit | 430e490ba6aa4dfc715d598ee90f29069a32fbde (patch) | |
tree | db4a37d34a562710f578bd09198b106210a85235 | |
parent | 3d80671394cca9dc3ed4b27ea896ac0ee874081c (diff) | |
download | aur-430e490ba6aa4dfc715d598ee90f29069a32fbde.tar.gz |
Enable timer after installation
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | autoupdate.install | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -7,6 +7,7 @@ pkgdesc="Download packages to update automatically." arch=('any') url="https://aur.archlinux.org/packages/autoupdate/" license=('GPL') +install=autoupdate.install source=(autoupdate.service autoupdate.timer) md5sums=('315777ea88d1ca6be7a934844a48c399' diff --git a/autoupdate.install b/autoupdate.install new file mode 100644 index 000000000000..a381fd55ba19 --- /dev/null +++ b/autoupdate.install @@ -0,0 +1,7 @@ +post_install() { + systemctl enable autoupdate.timer +} + +pre_remove() { + systemctl disable autoupdate.timer +} |