manager/helpers/lib/install-config

9 lines
160 B
Text
Raw Normal View History

2022-04-18 00:14:34 +01:00
# 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}
}