summarylogtreecommitdiffstats
path: root/timeshift.install
blob: ff04187e1673f249887f6c3dc226d1c14b936965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_upgrade() {
  set -u
  if ! systemctl -q is-enabled 'cronie.service'; then
    echo 'TimeShift automatic 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
}