Permalink
Browse files

misc: update to latest omni-bot md5, set directory permissions via cmake

  • Loading branch information...
IR4T4 committed Sep 11, 2018
1 parent 8757842 commit bd477373f2634dfb23481d8d5bf80271f9df0af2
Showing with 2 additions and 9 deletions.
  1. +2 −9 cmake/ETLInstallOmniBot.cmake
@@ -20,20 +20,13 @@ LEG_DOWNLOAD(
"Omni-Bot archive"
${ETLEGACY_OMNIBOT_DL_URL}
"${CMAKE_CURRENT_BINARY_DIR}/legacy/${ETLEGACY_OMNIBOT_ARCHIVE}"
"b5e97796a6b57fe52e9e7e6971dffe53"
"ddc91eb5a0a0a245d29cb3a6038c43ef"
"${CMAKE_CURRENT_BINARY_DIR}/legacy"
"${CMAKE_CURRENT_BINARY_DIR}/legacy/omni-bot"
)
message(STATUS "Adding Omni-Bot to installer scripts")
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/legacy/omni-bot/"
DESTINATION "${INSTALL_DEFAULT_MODDIR}/legacy/omni-bot"
DIRECTORY_PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ WORLD_READ
)
# ensure unique permissions and bot user path has write permission set
if(UNIX)
execute_process(
COMMAND chmod -R 755 "${INSTALL_DEFAULT_MODDIR}/legacy/omni-bot"
WORKING_DIRECTORY "${INSTALL_DEFAULT_MODDIR}/legacy/omni-bot"
)
endif(UNIX)

0 comments on commit bd47737

Please sign in to comment.