From 108b4be3ecc3155969e88cedbdc09e40e0c67140 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Thu, 26 May 2022 13:16:20 +0800 Subject: [PATCH] test: test debian packaging --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4a27962..190d707 100755 --- a/debian/rules +++ b/debian/rules @@ -11,5 +11,6 @@ export DEBIAN_PACKAGE=1 dh $@ override_dh_installsystemd: # 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 + echo "DPKG_ROOT: ${DPKG_ROOT}" + sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" "${DPKG_ROOT}/usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf" dh_installsystemd gpservice.service