Only install /var/lib/maxscale for core package

All RPM packages tried to install the /var/lib/maxscale directory when
they shouldn't have.
This commit is contained in:
Markus Mäkelä
2017-01-05 22:42:56 +02:00
parent 915eeabe25
commit a0181133fe

View File

@ -35,4 +35,4 @@ endif()
message(STATUS "Generating RPM packages") message(STATUS "Generating RPM packages")
# Installing this prevents RPM from deleting the /var/lib/maxscale folder # Installing this prevents RPM from deleting the /var/lib/maxscale folder
install(DIRECTORY DESTINATION ${MAXSCALE_VARDIR}/lib/maxscale) install(DIRECTORY DESTINATION ${MAXSCALE_VARDIR}/lib/maxscale COMPONENT core)