File: postinst

package info (click to toggle)
libcharon 5.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 576 kB
  • sloc: python: 1,575; sh: 388; makefile: 3
file content (12 lines) | stat: -rwxr-xr-x 417 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# DBus currently does not load config files from /usr but the
# system-supplied config files really should be installed there.
# So symlink things to /etc instead.
ln -s /usr/share/dbus-1/system.d/nl.ultimaker.charon.conf /etc/dbus-1/system.d/
# Then, make sure DBus knows the policy file exists.
systemctl reload dbus

# Finally, enable the service
systemctl daemon-reload
systemctl enable charon.service