Make sure directory exists

This commit is contained in:
Renato Botelho 2016-04-06 06:36:51 -03:00
parent 891c53b01d
commit cc1b7ddd0b

View File

@ -744,6 +744,7 @@ fi
if [ -f "${pkg_repo_conf_path}" ]; then
if [ "$(readlink ${pkg_repo_conf})" != "${pkg_repo_conf_path}" ]; then
mkdir -p /usr/local/etc/pkg/repos
ln -sf ${pkg_repo_conf_path} ${pkg_repo_conf}
fi
fi