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