summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2021-10-13 09:47:35 -0600
committerMark Wagie2021-10-13 09:47:35 -0600
commita7e192286820c28834b89af2adb2f4b1b94db95b (patch)
treef4e2191d78b816485268b08de6eff6ea52ed2c24
parent318ab3588eb4d782ff40c3bf290193d714896911 (diff)
downloadaur-a7e192286820c28834b89af2adb2f4b1b94db95b.tar.gz
don't enable cronie by default, only notify
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--timeshift.install11
3 files changed, 6 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 45d8f5d2e17d..0daf1875a049 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index e5156f2a3cdc..0575d3ae2c92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}