summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin6
1 files changed, 3 insertions, 3 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 25d0a1e..dd3a5ce 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -282,15 +282,15 @@ setup|update)
282 if [ -f ${ezjail_jailbase}/usr/ports/CVS/Root ]; then 282 if [ -f ${ezjail_jailbase}/usr/ports/CVS/Root ]; then
283 echo -n "Updating ports from "; cat ${ezjail_jailbase}/usr/ports/CVS/Root 283 echo -n "Updating ports from "; cat ${ezjail_jailbase}/usr/ports/CVS/Root
284 echo "Gathering local information may take a while." 284 echo "Gathering local information may take a while."
285 cd ${ezjail_jailbase}/usr/ports/; cvs up -Pd 285 cd ${ezjail_jailbase}/usr/ports/; cvs up -Pd;
286 else 286 else
287 echo "Checking out ports from ${ezjail_portscvsroot}" 287 echo "Checking out ports from ${ezjail_portscvsroot}"
288 mkdir -p ${ezjail_jailbase}/usr/ports/ 288 mkdir -p ${ezjail_jailbase}/usr/ports/
289 cd ${ezjail_jailbase}/usr/; cvs -d ${ezjail_portscvsroot} co ports 289 cd ${ezjail_jailbase}/usr/; cvs -d ${ezjail_portscvsroot} co ports;
290 fi 290 fi
291 291
292 [ $? = 0 ] || exerr "Updating ports failed." 292 [ $? = 0 ] || exerr "Updating ports failed."
293 [ -f ${ezjail_jailtmeplate}/usr/ports ] || ln -s /basejail/usr/ports ${ezjail_jailtemplate}/usr/ports 293 [ -e ${ezjail_jailtemplate}/usr/ports ] || ln -s /basejail/usr/ports ${ezjail_jailtemplate}/usr/ports
294 294
295 fi 295 fi
296 296