12345678910111213141516171819202122232425262728 |
- --- nologind.pro 2022-06-19 16:08:23.493424552 -0300
- +++ nologind.pro 2022-06-19 16:08:09.921424247 -0300
- @@ -9,7 +9,7 @@
- HEADERS += manager.h
- OTHER_FILES += $${TARGET}.conf.in
-
- -isEmpty(PREFIX): PREFIX = /usr/local
- +isEmpty(PREFIX): PREFIX = /usr/bin
- isEmpty(DBUS_CONF): DBUS_CONF = /etc
- isEmpty(DBUS_SERVICE): DBUS_SERVICE = /usr/share
- isEmpty(DOCDIR): DOCDIR = $$PREFIX/share/doc
- @@ -17,13 +17,13 @@
- isEmpty(USER): USER = root
- isEmpty(GROUP): GROUP = users
-
- -target.path = $${PREFIX}/sbin
- +target.path = $${PREFIX}/bin
- target_dbus_conf.path = $${DBUS_CONF}/dbus-1/system.d
- target_dbus_service.path = $${DBUS_SERVICE}/dbus-1/system-services
- target_dbus_conf.commands = $$quote(cat $${PWD}/$${TARGET}.conf.in | sed "\"s/_GROUP_/$${GROUP}/g;s/_USER_/$${USER}/g"\" > ${INSTALL_ROOT}$${DBUS_CONF}/dbus-1/system.d/org.freedesktop.login1.conf$$escape_expand(\\n\\t))
- target_dbus_service.commands = $$quote(echo "\"[D-BUS Service]"\" > ${INSTALL_ROOT}$${DBUS_SERVICE}/dbus-1/system-services/org.freedesktop.login1.service$$escape_expand(\\n\\t))
- target_dbus_service.commands += $$quote(echo "\"Name=org.freedesktop.login1"\" >> ${INSTALL_ROOT}$${DBUS_SERVICE}/dbus-1/system-services/org.freedesktop.login1.service$$escape_expand(\\n\\t))
- -target_dbus_service.commands += $$quote(echo "\"Exec=$${PREFIX}/sbin/$${TARGET}"\" >> ${INSTALL_ROOT}$${DBUS_SERVICE}/dbus-1/system-services/org.freedesktop.login1.service$$escape_expand(\\n\\t))
- +target_dbus_service.commands += $$quote(echo "\"Exec=$${PREFIX}/bin/$${TARGET}"\" >> ${INSTALL_ROOT}$${DBUS_SERVICE}/dbus-1/system-services/org.freedesktop.login1.service$$escape_expand(\\n\\t))
- target_dbus_service.commands += $$quote(echo "\"User=$${USER}"\" >> ${INSTALL_ROOT}$${DBUS_SERVICE}/dbus-1/system-services/org.freedesktop.login1.service$$escape_expand(\\n\\t))
- target_docs.path = $${DOCDIR}/$${TARGET}-$${VERSION}
- target_docs.files = LICENSE README.md
|