[arch-commits] Commit in mldonkey/trunk (mldonkey.install)
Anatol Pomozov
anatolik at archlinux.org
Wed Jan 11 17:52:51 UTC 2017
Date: Wednesday, January 11, 2017 @ 17:52:50
Author: anatolik
Revision: 206848
systemd-tmpfiles invocation moved to hooks
Modified:
mldonkey/trunk/mldonkey.install
------------------+
mldonkey.install | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
Modified: mldonkey.install
===================================================================
--- mldonkey.install 2017-01-11 17:16:03 UTC (rev 206847)
+++ mldonkey.install 2017-01-11 17:52:50 UTC (rev 206848)
@@ -1,4 +1,5 @@
post_install() {
+ # TODO: move it to systemd-sysusers format
if ! getent group mldonkey >/dev/null; then
groupadd --system mldonkey
fi
@@ -8,10 +9,6 @@
mkdir -p /var/lib/mldonkey
chown mldonkey:mldonkey /var/lib/mldonkey
-
- if type -P systemd-tmpfiles &> /dev/null; then
- systemd-tmpfiles --create mldonkey.conf
- fi
}
post_upgrade() {
More information about the arch-commits
mailing list