summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-12-06 03:19:16 +0000
committerjkh <jkh@FreeBSD.org>1999-12-06 03:19:16 +0000
commit7d49aa3aa55a220de7d2a19d916a18c6fe0579b3 (patch)
tree291f86677241265ff706415d3c744756583d5fd2 /usr.sbin
parent484903be510053a1a488f59f6a6dc4e1d930f62c (diff)
downloadFreeBSD-src-7d49aa3aa55a220de7d2a19d916a18c6fe0579b3.zip
FreeBSD-src-7d49aa3aa55a220de7d2a19d916a18c6fe0579b3.tar.gz
Only pkg_delete the old package if the new one builds properly.
Submitted by: Dan "The Bug" Bugg <bugg@bugg.strangled.net>
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/pkg_install/version/pkg_version.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/version/pkg_version.pl b/usr.sbin/pkg_install/version/pkg_version.pl
index b8ef767..a361af5 100755
--- a/usr.sbin/pkg_install/version/pkg_version.pl
+++ b/usr.sbin/pkg_install/version/pkg_version.pl
@@ -304,8 +304,7 @@ $CommentChar, $Comment
$CommentChar
cd @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$packagePath
-make
-pkg_delete -f @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+make && pkg_delete -f @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$packageNameVer
make install
OpenPOWER on IntegriCloud