Create /var/ports/packages as promised in our make.conf, thanks to Koslov Sergey

This commit is contained in:
erdgeist 2013-09-25 17:34:04 +00:00
parent 27216be05a
commit 4bdf4e4a13

View File

@ -308,6 +308,7 @@ ezjail_splitworld() {
# /etc/make.conf.
if [ -f "${ezjail_examples}/example/etc/make.conf" -a ! -f "${ezjail_jailtemplate}/etc/make.conf" ]; then
cp -p "${ezjail_examples}/example/etc/make.conf" "${ezjail_jailtemplate}/etc/"
mkdir -p ${ezjail_jailtemplate}/var/ports/packages ${ezjail_jailtemplate}/var/ports/distfiles
echo "Note: a non-standard /etc/make.conf was copied to the template jail in order to get the ports collection running inside jails."
fi