mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
test: test debian packaging
This commit is contained in:
parent
d03bbc339e
commit
db0e8b801d
2
debian/rules
vendored
2
debian/rules
vendored
@ -11,7 +11,7 @@ export DEBIAN_PACKAGE=1
|
|||||||
dh $@
|
dh $@
|
||||||
override_dh_installsystemd:
|
override_dh_installsystemd:
|
||||||
# Update the the dbus user to logname
|
# Update the the dbus user to logname
|
||||||
dbus_conf=/usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
|
dbus_conf="/usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf"
|
||||||
if [ -f "${dbus_conf}" ]; then
|
if [ -f "${dbus_conf}" ]; then
|
||||||
sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" "${dbus_conf}"
|
sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" "${dbus_conf}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user