Tidy
This commit is contained in:
@ -35,7 +35,13 @@ install(FILES src/dropshell-completion.bash
|
||||
RENAME dropshell
|
||||
)
|
||||
|
||||
# Install templates
|
||||
# Create pre-install script to clean old templates
|
||||
install(CODE "
|
||||
message(STATUS \"Removing old template files...\")
|
||||
execute_process(COMMAND rm -rf /opt/dropshell/templates)
|
||||
")
|
||||
|
||||
# Install templates with pre-install script
|
||||
install(DIRECTORY templates/
|
||||
DESTINATION /opt/dropshell/templates
|
||||
)
|
||||
|
Reference in New Issue
Block a user