Reversed logic
Submitted by: Domagoj Smolcic <rank1seeker@gmail.com> Pointyhat to: crees
This commit is contained in:
parent
3b74c37703
commit
15374243c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313540
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= portdowngrade
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # none
|
||||
|
|
|
@ -74,7 +74,7 @@ esac
|
|||
portdir="${1%$PORTSDIR}"
|
||||
portdir="${portdir#/}"
|
||||
|
||||
[ ! -d "$PORTSDIR/$portdir" ] || err "$portdir does not exist in $PORTSDIR"
|
||||
[ -d "$PORTSDIR/$portdir" ] || err "$portdir does not exist in $PORTSDIR"
|
||||
|
||||
case ${2-NULL} in
|
||||
NULL)
|
||||
|
|
Loading…
Reference in a new issue