summaryrefslogtreecommitdiff
path: root/lib/libalpm/dload.c
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-21 13:58:32 -0400
committerDave Reisner <dreisner@archlinux.org>2011-06-27 13:39:02 -0400
commit399184d68f23e124e386a340abf5bcec968b322b (patch)
tree3bab6e52e280b5cbe8a67036d965cfb76e06ef1d /lib/libalpm/dload.c
parent122b4c218785a89dcf6e1a335f6083aa166d4cdb (diff)
repo-add: enforce file extensions
Allow one of 4 archive extensions: .tar{,.gz,.xz,.bz2} for each of the 2 valid repo extensions: .db and .files. Check for this via 'verify_repo_extension' directly after option parsing to assert that this extension is present, and again after files have been added to get the proper archive option for bsdtar. Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'lib/libalpm/dload.c')
0 files changed, 0 insertions, 0 deletions