Fix broken upgrades on CentOS 7

The upgrade process removed the /var/lib/maxscale directory as the newer
version didn't use it. This can be fixed by installing an empty directory
into /var/lib/maxscale.
This commit is contained in:
Markus Makela
2016-09-23 16:29:26 +03:00
parent e618370cdb
commit 649efb91b5
3 changed files with 4 additions and 1 deletions

View File

@ -15,4 +15,5 @@ if (BUILD_QC_MYSQLEMBEDDED)
set_target_properties(qc_mysqlembedded PROPERTIES LINK_FLAGS -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/qc_mysqlembedded.map)
#set_target_properties(qc_mysqlembedded PROPERTIES LINK_FLAGS -Wl,-z,defs)
install(TARGETS qc_mysqlembedded COMPONENT lib DESTINATION ${MAXSCALE_LIBDIR})
install(PROGRAMS ${ERRMSG} DESTINATION ${MAXSCALE_VARDIR}/lib/maxscale)
endif()