fix: rollback dbus configuration

This commit is contained in:
Kevin Yue
2022-05-29 21:00:37 +08:00
parent fb2b148b72
commit 9c9b42b87f
4 changed files with 11 additions and 29 deletions

11
debian/postinst vendored
View File

@@ -1,11 +0,0 @@
#!/bin/sh
set -e
# Update the the dbus user to logname
dbus_conf=/usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
if [ -f $dbus_conf ]; then
sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" $dbus_conf
fi
#DEBHELPER#