diff options
author | paul <paul@FreeBSD.org> | 2000-12-28 19:53:44 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 2000-12-28 19:53:44 +0000 |
commit | dec1690e30cd9ad27fc0877094e0a20dd23a8c82 (patch) | |
tree | 85e621d8371d3d4f86eb90b5a6f5cc2bee46a3a8 | |
parent | c3d58d495af23f680f0d8ed1922202d384ee6b59 (diff) | |
download | FreeBSD-src-dec1690e30cd9ad27fc0877094e0a20dd23a8c82.zip FreeBSD-src-dec1690e30cd9ad27fc0877094e0a20dd23a8c82.tar.gz |
Fix the broken options that were in the development version I committed by mistake.
-rwxr-xr-x | usr.sbin/pkg_install/update/pkg_update.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/update/pkg_update.pl b/usr.sbin/pkg_install/update/pkg_update.pl index 5067334..b868c0e 100755 --- a/usr.sbin/pkg_install/update/pkg_update.pl +++ b/usr.sbin/pkg_install/update/pkg_update.pl @@ -40,6 +40,7 @@ my $PKG_DEP_FILE = "+REQUIRED_BY"; my $PKG_ADD = "/usr/sbin/pkg_add"; my $PKG_CREATE = "/usr/sbin/pkg_create"; +my $PKG_DELETE = "/usr/sbin/pkg_delete -f"; my $PKG_INFO = "/usr/sbin/pkg_info -Ia"; sub error ($) { @@ -115,7 +116,7 @@ my %requires; my $pkg = ""; my $update_pkg = ""; -our($opt_v, $opt_r, $opt_n); +our($opt_a, $opt_c, $opt_v, $opt_r, $opt_n); getopts('acnvr:'); if ($opt_a && $opt_c) { |