Skip to content

Commit d87e56c

Browse files
committed
fix: Call systemd-sysusers & systemd-tmpfiles only with ddm's configuration
Configurations by other may cause error and lead to a failure of installastion
1 parent 0db0985 commit d87e56c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

debian/ddm.postinst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ THIS_PACKAGE=ddm
88
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
99

1010
# creating dde user & group if he isn't already there
11-
systemd-sysusers
11+
systemd-sysusers /usr/lib/sysusers.d/dde.conf
1212

1313
# creating directories required
14-
systemd-tmpfiles --create
14+
systemd-tmpfiles --create /usr/lib/tmpfiles.d/ddm.conf
1515

1616
# debconf is not a registry, so we only fiddle with the default file if it
1717
# does not exist

0 commit comments

Comments
 (0)