mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
12 lines
293 B
Plaintext
Executable File
12 lines
293 B
Plaintext
Executable File
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
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|