summaryrefslogtreecommitdiff
path: root/scripts/pacman-optimize.sh.in
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 /scripts/pacman-optimize.sh.in
parent122b4c218785a89dcf6e1a335f6083aa166d4cdb (diff)
downloadpacman-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 'scripts/pacman-optimize.sh.in')
0 files changed, 0 insertions, 0 deletions