summarylogtreecommitdiffstats
path: root/timeshift.install
diff options
context:
space:
mode:
Diffstat (limited to 'timeshift.install')
-rw-r--r--timeshift.install11
1 files changed, 4 insertions, 7 deletions
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
}