summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2013-09-25 17:34:04 +0000
committererdgeist <erdgeist@erdgeist.org>2013-09-25 17:34:04 +0000
commit4bdf4e4a13e128a937a3b68d23765614e852705f (patch)
treebcfd880589c4550723a072fa14084b02aa98be34
parent27216be05a9f646706593f779f9081486d389807 (diff)
Create /var/ports/packages as promised in our make.conf, thanks to Koslov Sergey
-rwxr-xr-xezjail-admin1
1 files changed, 1 insertions, 0 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 0f265e3..b5ab1ad 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -308,6 +308,7 @@ ezjail_splitworld() {
308 # /etc/make.conf. 308 # /etc/make.conf.
309 if [ -f "${ezjail_examples}/example/etc/make.conf" -a ! -f "${ezjail_jailtemplate}/etc/make.conf" ]; then 309 if [ -f "${ezjail_examples}/example/etc/make.conf" -a ! -f "${ezjail_jailtemplate}/etc/make.conf" ]; then
310 cp -p "${ezjail_examples}/example/etc/make.conf" "${ezjail_jailtemplate}/etc/" 310 cp -p "${ezjail_examples}/example/etc/make.conf" "${ezjail_jailtemplate}/etc/"
311 mkdir -p ${ezjail_jailtemplate}/var/ports/packages ${ezjail_jailtemplate}/var/ports/distfiles
311 echo "Note: a non-standard /etc/make.conf was copied to the template jail in order to get the ports collection running inside jails." 312 echo "Note: a non-standard /etc/make.conf was copied to the template jail in order to get the ports collection running inside jails."
312 fi 313 fi
313 314