summarylogtreecommitdiffstats
path: root/pacmon.install
diff options
context:
space:
mode:
Diffstat (limited to 'pacmon.install')
-rw-r--r--pacmon.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/pacmon.install b/pacmon.install
new file mode 100644
index 000000000000..ddc6fe076314
--- /dev/null
+++ b/pacmon.install
@@ -0,0 +1,5 @@
+post_install() {
+ getent passwd pacmon &>/dev/null || useradd -r -s /bin/false pacmon >/dev/null
+ /usr/bin/pacmon mirrorlist
+ true
+}