git » xdg-user-dirs.git » main » tree

[main] / xdg-user-dirs.install

post_install() {
  # Enable update by default
  systemctl --global enable xdg-user-dirs-update.service
}

post_upgrade() {
  if (( $(vercmp $2 0.15-3) < 0)); then
    systemctl --global enable xdg-user-dirs-update.service
  fi
}

pre_remove() {
  systemctl --global disable xdg-user-dirs-update.service
}