mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
fix: rollback dbus configuration
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
post_install() {
|
||||
# Update the the dbus user to logname
|
||||
sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
|
||||
|
||||
systemctl enable gpservice.service
|
||||
systemctl restart gpservice.service
|
||||
}
|
||||
|
@@ -33,8 +33,6 @@ A GlobalProtect VPN client (GUI) for Linux based on OpenConnect and built with Q
|
||||
|
||||
%post
|
||||
|
||||
sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%service_add_post gpservice.service
|
||||
%else
|
||||
|
Reference in New Issue
Block a user