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:
@ -23,3 +23,6 @@ set(IGNORED_DIRS
|
||||
"%ignore ${CMAKE_INSTALL_PREFIX}/share/man/man1")
|
||||
|
||||
set(CPACK_RPM_USER_FILELIST "${IGNORED_DIRS}")
|
||||
|
||||
# Installing this prevents RPM from deleting the /var/lib/maxscale folder
|
||||
install(DIRECTORY DESTINATION ${MAXSCALE_VARDIR}/lib/maxscale)
|
||||
|
||||
Reference in New Issue
Block a user