summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_create3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index 59080de0027..2dffcd56ce7 100644
--- a/usr.sbin/pkg_add/pkg_create
+++ b/usr.sbin/pkg_add/pkg_create
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_create,v 1.125 2009/12/13 08:54:32 espie Exp $
+# $OpenBSD: pkg_create,v 1.126 2010/01/01 14:22:01 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -693,6 +693,7 @@ if (defined $cert) {
$sig->add_object($plist);
require OpenBSD::x509;
$sig->{b64sig} = OpenBSD::x509::compute_signature($plist, $cert, $privkey);
+ $plist->save if $regen_package;
}
my $wname;