diff options
author | Mark Wagie | 2021-10-13 09:47:35 -0600 |
---|---|---|
committer | Mark Wagie | 2021-10-13 09:47:35 -0600 |
commit | a7e192286820c28834b89af2adb2f4b1b94db95b (patch) | |
tree | f4e2191d78b816485268b08de6eff6ea52ed2c24 | |
parent | 318ab3588eb4d782ff40c3bf290193d714896911 (diff) | |
download | aur-a7e192286820c28834b89af2adb2f4b1b94db95b.tar.gz |
don't enable cronie by default, only notify
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | timeshift.install | 11 |
3 files changed, 6 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = timeshift pkgdesc = A system restore utility for Linux pkgver = 21.09.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/teejee2008/timeshift install = timeshift.install arch = i686 @@ -6,7 +6,7 @@ # Contributor: Robert Orzanna <orschiro at gmail dot com> pkgname=timeshift pkgver=21.09.1 -pkgrel=2 +pkgrel=3 pkgdesc="A system restore utility for Linux" arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/teejee2008/timeshift" diff --git a/timeshift.install b/timeshift.install index ff04187e1673..df5dba17d821 100644 --- a/timeshift.install +++ b/timeshift.install @@ -1,14 +1,11 @@ -post_upgrade() { - set -u +post_install() { if ! systemctl -q is-enabled 'cronie.service'; then - echo 'TimeShift automatic backups require the cronie.service to be running.' + echo 'TimeShift scheduled backups require the cronie.service to be running.' echo 'Try:' echo ' systemctl enable --now cronie.service' fi - set +u } -post_install() { - systemctl enable --now cronie.service - post_upgrade +post_upgrade() { + post_install } |