Skip to content

Commit

Permalink
After changing the udev rule, need to reload it
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbigmdm committed May 6, 2024
1 parent 29698d3 commit 0251638
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions IMSProg_programmer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,9 @@ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/other/IMSProg_database_update.1.gz" D
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/other/index.html" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/imsprog/html")
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/other/imsprog.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/other/imsprog.database.update.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo")

#Reloading USB UDEV rules
execute_process(
COMMAND bash "-c" "sudo udevadm control --reload-rules"
OUTPUT_VARIABLE FOO
)

0 comments on commit 0251638

Please sign in to comment.