diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-21 19:58:32 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-06-27 19:39:02 +0200 |
commit | 399184d68f23e124e386a340abf5bcec968b322b (patch) | |
tree | 3bab6e52e280b5cbe8a67036d965cfb76e06ef1d /lib/libalpm/remove.c | |
parent | 122b4c218785a89dcf6e1a335f6083aa166d4cdb (diff) | |
download | pacman-399184d68f23e124e386a340abf5bcec968b322b.tar.gz pacman-399184d68f23e124e386a340abf5bcec968b322b.tar.xz |
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/remove.c')
0 files changed, 0 insertions, 0 deletions