aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/add
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-06-14 15:05:43 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-06-14 15:05:43 +0000
commitc554b6316d25cca31b174f95377e9103aae180ef (patch)
tree764bad44eecfeeab4b24776c379e71db81e64c08 /usr.sbin/pkg_install/add
parent2d0d7ca29f72a3a19c5e1c0db1ce89d480cc5ad2 (diff)
downloadsrc-c554b6316d25cca31b174f95377e9103aae180ef.tar.gz
src-c554b6316d25cca31b174f95377e9103aae180ef.zip
Implement @noinst field which has at the moment the same meaning and
function as @comment has. But will be valid only for files and not for md5 sums, rcsid's and comments in the future. Submitted by: flz Approved by: re@ (scottl)
Notes
Notes: svn path=/head/; revision=147381
Diffstat (limited to 'usr.sbin/pkg_install/add')
-rw-r--r--usr.sbin/pkg_install/add/extract.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/add/extract.c b/usr.sbin/pkg_install/add/extract.c
index 86a9805dc261..2085f3d13091 100644
--- a/usr.sbin/pkg_install/add/extract.c
+++ b/usr.sbin/pkg_install/add/extract.c
@@ -261,7 +261,8 @@ extract_plist(const char *home, Package *pkg)
Group = p->name;
break;
- case PLIST_COMMENT:
+ case PLIST_COMMENT: /* FALLTHROUGH */
+ case PLIST_NOINST:
break;
case PLIST_IGNORE: