. lib/constants_repopaths # PATH_CONF_HOME
ensure_homefiles_of_tags() {
- _TO_CHOWN=$(copy_dirtree "${PATH_CONF_HOME}" "${PATH_USER_HOME}" $@ | sed "s/.*' -> //g")
+ _TO_CHOWN=$(copy_dirtree "${PATH_CONF_HOME}" "${PATH_USER_HOME}" $@ | sed "s/.*' -> '//g" | sed -E "s/'$//g")
chown_to_user ${_TO_CHOWN}
}
if [ ! -f "${_PATH_APTMARK_TAG}" ]; then
continue
fi
- echo "For tag '"{_TAG}"', installing"
+ echo "For tag '"${_TAG}"', installing"
cat "${_PATH_APTMARK_TAG}" | while read _LINE; do
if [ ! $(echo "${_LINE}" | cut -c1) = "#" ]; then
apt-get -q -y -o Dpkg::Options::="--force-confnew" install "${_LINE}"