manager/.helpers/lib/install-config

8 lines
160 B
Bash
Executable file

# vi: set ft=bash :
install_config() {
[ -f ${2} ] && rm -rf ${2}
echo "INFO: Installing ${1} to ${2}"
cp ${1} ${2}
chmod -R a-rwx,u+rw ${2}
}