mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-12-17 21:35:21 +01:00
add and install udev rules to enable non-root access (thanks to Patrick Huesmann for contribution)
This commit is contained in:
parent
8aaeecd84b
commit
a51fcf98f8
2 changed files with 23 additions and 0 deletions
|
|
@ -69,3 +69,8 @@ add_custom_target(git-version ALL
|
|||
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
|
||||
|
||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/ptouch-print.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
|
||||
if(EXISTS /etc/udev/rules.d)
|
||||
install(FILES udev/90-usb-ptouch-permissions.rules DESTINATION /etc/udev/rules.d)
|
||||
install(CODE "execute_process(COMMAND udevadm control --reload-rules)")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue