mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 18:14:56 +01:00
Don't delete "Latest" link if NO_LATEST_LINK is set.
This commit is contained in:
parent
c4118fc0b0
commit
f0bb46b1b3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34858
@ -1,7 +1,7 @@
|
||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||
# ex:ts=4
|
||||
#
|
||||
# $Id: bsd.port.mk,v 1.271 1998/02/19 06:49:27 asami Exp $
|
||||
# $Id: bsd.port.mk,v 1.272 1998/03/07 04:40:19 asami Exp $
|
||||
# $NetBSD: $
|
||||
#
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
@ -1147,7 +1147,10 @@ package-links:
|
||||
|
||||
.if !target(delete-package-links)
|
||||
delete-package-links:
|
||||
@${RM} -f ${PACKAGES}/[a-z]*/${PKGNAME}${PKG_SUFX} ${PKGLATESTFILE}
|
||||
@${RM} -f ${PACKAGES}/[a-z]*/${PKGNAME}${PKG_SUFX}
|
||||
.if !defined(NO_LATEST_LINK)
|
||||
@${RM} -f ${PKGLATESTFILE}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !target(delete-package)
|
||||
|
Loading…
Reference in New Issue
Block a user