Browse Source

sde-list-download: Add .xz support

user/chris/test/arm
Alejandro Mery 13 years ago
parent
commit
f3be12af4d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/sde-list-download

+ 2
- 2
bin/sde-list-download

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: bin/sde-list-download
# Copyright (C) 2007 - 2008 The OpenSDE Project
# Copyright (C) 2007 - 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -84,7 +84,7 @@ $SDEROOT/bin/sde-list-pkg ${config:+-c $config} ${extenders:+-e} ${repositories:
mirror=mirror
fi
bz2file=$( echo "$gzfile" | sed -e 's,\.gpg$,,' -e 's,\.\(t\?\)\(gz\|Z\)$,.\1bz2,' -e 's,\.tar$,.tar.bz2,' )
bz2file=$( echo "$gzfile" | sed -e 's,\.gpg$,,' -e 's,\.\(t\?\)\(gz\|xz\|Z\)$,.\1bz2,' -e 's,\.tar$,.tar.bz2,' )
output="${output:+$output\t}download/$mirror/${bz2file:0:1}/$bz2file"
# source location

Loading…
Cancel
Save