aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Cort <tcort@gentoo.org>2006-07-07 14:06:13 +0000
committerThomas Cort <tcort@gentoo.org>2006-07-07 14:06:13 +0000
commit1fca2cb6a34091c430a7afc737b43b8504a5e198 (patch)
tree22b492d422d806ccd1da7d0918c0f11a0ecd89f5
parentAdd .deb/.rpm/tgz to distfile types. (diff)
downloadportage-utils-1fca2cb6a34091c430a7afc737b43b8504a5e198.tar.gz
portage-utils-1fca2cb6a34091c430a7afc737b43b8504a5e198.tar.bz2
portage-utils-1fca2cb6a34091c430a7afc737b43b8504a5e198.zip
Add .texinfo/.html/.bin/.jar/.pdf/.tar/.txt/.wsz/.xpi/.7z to distfile filetypes.
-rw-r--r--qcache.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/qcache.c b/qcache.c
index 95233d66..af14c8f4 100644
--- a/qcache.c
+++ b/qcache.c
@@ -1,7 +1,7 @@
/*
* Copyright 2005-2006 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/qcache.c,v 1.10 2006/07/07 04:03:11 tcort Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/qcache.c,v 1.11 2006/07/07 14:06:13 tcort Exp $
*
* Copyright 2006 Thomas A. Cort - <tcort@gentoo.org>
*/
@@ -41,7 +41,7 @@ static const char *qcache_opts_help[] = {
COMMON_OPTS_HELP
};
-static const char qcache_rcsid[] = "$Id: qcache.c,v 1.10 2006/07/07 04:03:11 tcort Exp $";
+static const char qcache_rcsid[] = "$Id: qcache.c,v 1.11 2006/07/07 14:06:13 tcort Exp $";
#define qcache_usage(ret) usage(ret, QCACHE_FLAGS, qcache_long_opts, qcache_opts_help, lookup_applet_idx("qcache"))
enum { none = 0, testing, stable };
@@ -77,14 +77,24 @@ struct filetype_list_t {
const char *name;
} filetypes[] = {
{ ".tar.bz2" },
+ { ".texinfo" },
{ ".tar.gz" },
{ ".patch" },
+ { ".html" },
+ { ".bin" },
{ ".bz2" },
{ ".deb" },
+ { ".jar" },
+ { ".pdf" },
{ ".rpm" },
+ { ".tar" },
{ ".tgz" },
+ { ".txt" },
+ { ".wsz" },
+ { ".xpi" },
{ ".zip" },
{ ".rar" },
+ { ".7z" },
{ ".gz" },
{ ".Z" },
};