diff --git a/CMakeLists.txt b/CMakeLists.txt index 76a2d29..30f6314 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,6 @@ install(CODE # Define the paths for the source and destination files set(PREFIX_FILE \"${CMAKE_CURRENT_SOURCE_DIR}/.script_prefix.lua\") set(SCRIPTS_DIR \"${CMAKE_CURRENT_SOURCE_DIR}/scripts\") - set(SCRIPT_FILE \"${CMAKE_CURRENT_SOURCE_DIR}/src/script.lua\") set(DEST_FILE \"/etc/rds95.lua\") # Initialize content variable @@ -60,11 +59,6 @@ install(CODE message(STATUS \"Scripts directory not found.\") endif() - # Add the main script file - message(STATUS \"Adding main script.lua.\") - file(READ \${SCRIPT_FILE} MAIN_SCRIPT_CONTENT) - set(FINAL_CONTENT \"\${FINAL_CONTENT}\n\${MAIN_SCRIPT_CONTENT}\") - # Write the resulting content to the destination file message(STATUS \"Installing script file to \${DEST_FILE}\") file(WRITE \${DEST_FILE} \"\${FINAL_CONTENT}\") diff --git a/scripts/ert.lua b/scripts/0-ert.lua similarity index 100% rename from scripts/ert.lua rename to scripts/0-ert.lua diff --git a/src/script.lua b/scripts/99-data.lua similarity index 100% rename from src/script.lua rename to scripts/99-data.lua