Skip to content
Snippets Groups Projects
Commit 94f79d56 authored by Steven Murray's avatar Steven Murray
Browse files

Renamed CastorInstallEtc to CastorInstallEtcExample because the name should be

based on what is installed, which in this case is an example file.
parent 45a42b88
No related branches found
No related tags found
No related merge requests found
......@@ -132,16 +132,18 @@ function (CastorInstallDir _name)
"FILE(MAKE_DIRECTORY \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}\${_name})")
endfunction ()
function (CastorInstallEtc _name)
install (FILES ${_name}
DESTINATION /etc
PERMISSIONS ${CASTOR_ETC_PERMS})
function (CastorInstallEtcCronD _name)
install (FILES ${_name}.cron_d
DESTINATION /etc/cron.d
PERMISSIONS ${CASTOR_ETC_CRON_D_PERMS}
RENAME ${_name})
endfunction ()
function (CastorInstallEtcCronD _name)
install (FILES ${_name}
DESTINATION /etc/cron.d
PERMISSIONS ${CASTOR_ETC_CRON_D_PERMS})
function (CastorInstallEtcExample _name)
install (FILES ${_name}.etc
DESTINATION /etc
PERMISSIONS ${CASTOR_ETC_PERMS}
RENAME ${_name}.example)
endfunction ()
function (CastorInstallScript _name)
......
......@@ -103,8 +103,8 @@ CastorInstallEtcCronD (xrd-logs)
################################################################################
# Rules to install example configuration files
################################################################################
CastorInstallEtc (xrd.cf.server)
CastorInstallEtc (xrd.cf.manager)
CastorInstallEtcExample (xrd.cf.server)
CastorInstallEtcExample (xrd.cf.manager)
CastorInstallSysconfigExample (xrootd.server)
CastorInstallSysconfigExample (xrootd.manager)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment