Make 'portsnap alfred' overwrite ports tree if it's not created by a
portsnap. Discussed with: alfred Reviewed by: cperciva
This commit is contained in:
parent
d58b075701
commit
410bcf7cc7
@ -1113,7 +1113,7 @@ cmd_alfred() {
|
||||
else
|
||||
cmd_cron
|
||||
fi
|
||||
if [ -d ${PORTSDIR} ]; then
|
||||
if [ -r ${PORTSDIR}/.portsnap.INDEX ]; then
|
||||
cmd_update
|
||||
else
|
||||
cmd_extract
|
||||
|
Loading…
Reference in New Issue
Block a user