Revert "Revert "fix: improve the dbus security""

This reverts commit ffa99d3783.
This commit is contained in:
Kevin Yue committed 2022-05-26 11:56:06 +08:00
1 parent d5cd90373b
commit 177da7f3a2
6 files changed
+35 -20

No files matched your search

@@ -33,6 +33,8 @@ A GlobalProtect VPN client (GUI) for Linux based on OpenConnect and built with Q
%post
sed -i "/LOGNAME/N;s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
%if 0%{?suse_version}
%service_add_post gpservice.service
%else