Make portsnap extract to the correct directory
This commit is contained in:
parent
8f7a52bffa
commit
87273fafa2
@ -123,7 +123,7 @@ ezjail_updateports () {
|
||||
else
|
||||
portsnap fetch
|
||||
[ -d ${ezjail_jailbase}/usr/ports ] && ezjail_portsnapaction=update
|
||||
portsnap ${ezjail_portsnapaction:-"extract"}
|
||||
portsnap -p ${ezjail_jailbase}/usr/ports ${ezjail_portsnapaction:-"extract"}
|
||||
fi
|
||||
[ $? = 0 ] || exerr "Updating ports failed."
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user