summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2012-01-02 05:17:54 +0000
committererdgeist <erdgeist@erdgeist.org>2012-01-02 05:17:54 +0000
commite9fa188e70bf17f04ef48d756281e83bd47e53d8 (patch)
tree84556969854a4e7603aba19f5c975a4160889e3d
parent7a817c42e7fcb6217ed2afa035f72af4f5b369a5 (diff)
From FreeBSD 9.0 on there's no need to install extra man pages. The come with the base pkg.
-rwxr-xr-xezjail-admin6
1 files changed, 5 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 1a98e15..21de648 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -965,9 +965,13 @@ install)
965 965
966 # From 9.0 releases come with a new layout 966 # From 9.0 releases come with a new layout
967 # It is now a single archive ${pkg}.txz instead of a list of archive parts under ${pkg}/* 967 # It is now a single archive ${pkg}.txz instead of a list of archive parts under ${pkg}/*
968 # man pages come with the base
968 # We assume for now that jail's platform is supposed to be that of the host. That may change later. 969 # We assume for now that jail's platform is supposed to be that of the host. That may change later.
969 ezjail_release_major=${ezjail_release%%.*} 970 ezjail_release_major=${ezjail_release%%.*}
970 [ ${ezjail_release_major} -ge 9 -a -n "${ezjail_installmanpages}" ] && ezjail_installmanpages=doc 971 if [ ${ezjail_release_major} -ge 9 -a -n "${ezjail_installmanpages}" ]; then
972 echo "Note: From FreeBSD 9.0 man pages are part of the base package"
973 unset ezjail_installmanpages
974 fi
971 975
972 # Normally fulljail should be renamed by past ezjail-admin commands. 976 # Normally fulljail should be renamed by past ezjail-admin commands.
973 # However those may have failed 977 # However those may have failed