summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_create
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-31 13:11:22 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-31 13:11:22 +0000
commite8fb2eb24a70012668c9d908a26b202fda312408 (patch)
treecadbd9e03fcd957242aa9ff1eefd4a22512c4e21 /usr.sbin/pkg_add/pkg_create
parent004fc400b75c97bbf4d738b5f320941f37a32db8 (diff)
oops, move realname up so that ::Sample sees it too.
remove last traces of MODULEs.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_create')
-rw-r--r--usr.sbin/pkg_add/pkg_create7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index d114ea615cc..2b04e72634a 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.109 2007/05/31 11:05:41 espie Exp $
+# $OpenBSD: pkg_create,v 1.110 2007/05/31 13:11:21 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -333,7 +333,7 @@ sub copy_subst
our ($opt_p, $opt_f, $opt_c, $opt_d, $opt_v, $opt_i, $opt_k,
$opt_S, $opt_s, $opt_O, $opt_A, $opt_L,
- $opt_m, $opt_M, $opt_U, $opt_P, $opt_W, $opt_n,
+ $opt_M, $opt_U, $opt_P, $opt_W, $opt_n,
$opt_B, $opt_q, $opt_Q);
sub deduce_name
@@ -480,7 +480,7 @@ set_usage(
my $plist = new OpenBSD::PackingList;
try {
- getopts('p:f:c:d:vi:k:m:M:U:S:hs:OA:L:B:D:P:W:nqQ',
+ getopts('p:f:c:d:vi:k:M:U:S:hs:OA:L:B:D:P:W:nqQ',
{'D' =>
sub {
local $_ = shift;
@@ -562,7 +562,6 @@ if ($regen_package) {
add_special_file($plist, INSTALL, $opt_i);
add_special_file($plist, DEINSTALL, $opt_k);
add_special_file($plist, DISPLAY, $opt_M);
- add_special_file($plist, MODULE, $opt_m);
add_special_file($plist, UNDISPLAY, $opt_U);
if (defined $opt_p) {
OpenBSD::PackingElement::Cwd->add($plist, $opt_p);