summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Münch2020-10-12 20:46:00 +0200
committerChristian Münch2020-10-12 20:46:00 +0200
commit39a65b37c60ade19403c088d06feb927eb7c8446 (patch)
tree3cb20f5a05067bf0d3af991b6fda474ae61e3665
parent723d6c55895602cdbb276ace41818893625ac5c4 (diff)
downloadaur-39a65b37c60ade19403c088d06feb927eb7c8446.tar.gz
Remove duplicate systemd daemon-reload
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--pacman-auto-update.install4
3 files changed, 2 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c74f47ac5a1..47ce98da0ee2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pacman-auto-update
pkgdesc = Install a systemd service triggered by a timer to run automatic pacman package updates
pkgver = 1.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/cmuench/pacman-auto-update.git
install = pacman-auto-update.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 43922b5dd7ab..842106552517 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Christian Münch <christian@muench-worms.de>
pkgname=pacman-auto-update
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Install a systemd service triggered by a timer to run automatic pacman package updates"
arch=('any')
url="https://github.com/cmuench/pacman-auto-update.git"
diff --git a/pacman-auto-update.install b/pacman-auto-update.install
index 47af5ce81f11..117e802f37f9 100644
--- a/pacman-auto-update.install
+++ b/pacman-auto-update.install
@@ -14,10 +14,6 @@ pre_remove() {
}
post_remove() {
- if [ -d /run/systemd/system ]; then
- systemctl --system daemon-reload >/dev/null || true
- fi
-
# In case this system is running systemd, we make systemd reload the unit files
# to pick up changes.
if [ -d /run/systemd/system ] ; then