summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-04-24 15:48:54 +0000
committererdgeist <erdgeist@erdgeist.org>2006-04-24 15:48:54 +0000
commit87273fafa2368e2d1edc91311a888e0385daf9bc (patch)
tree9dd76e2db435774ff2c4c8200c8d0df05eeb0f85 /ezjail-admin
parent8f7a52bffaec4b2a1c37816246367380b9433d57 (diff)
Make portsnap extract to the correct directory
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index b264bc9..a898862 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -123,7 +123,7 @@ ezjail_updateports () {
123 else 123 else
124 portsnap fetch 124 portsnap fetch
125 [ -d ${ezjail_jailbase}/usr/ports ] && ezjail_portsnapaction=update 125 [ -d ${ezjail_jailbase}/usr/ports ] && ezjail_portsnapaction=update
126 portsnap ${ezjail_portsnapaction:-"extract"} 126 portsnap -p ${ezjail_jailbase}/usr/ports ${ezjail_portsnapaction:-"extract"}
127 fi 127 fi
128 [ $? = 0 ] || exerr "Updating ports failed." 128 [ $? = 0 ] || exerr "Updating ports failed."
129} 129}