diff --git a/etc/postinst.in b/etc/postinst.in index 58bdaf54e..4bd193958 100755 --- a/etc/postinst.in +++ b/etc/postinst.in @@ -1,5 +1,5 @@ #!/bin/sh -install @CMAKE_INSTALL_PREFIX@/maxscale /etc/init.d/ -install @CMAKE_INSTALL_PREFIX@/maxscale.conf /etc/ld.so.conf.d/ +cp @CMAKE_INSTALL_PREFIX@/maxscale /etc/init.d/ +cp @CMAKE_INSTALL_PREFIX@/maxscale.conf /etc/ld.so.conf.d/ /sbin/ldconfig