Add xz compressed packages to known extensions of dl_cleanup
Add .tar.xz, .txz, and .orig.tar.xz as known extensions to dl_cleanup.py. Signed-off-by: Ian Leonard <antonlacon@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35645 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
ca34712a7c
commit
b4f4f60ee3
|
@ -3,7 +3,8 @@
|
|||
# OpenWRT download directory cleanup utility.
|
||||
# Delete all but the very last version of the program tarballs.
|
||||
#
|
||||
# Copyright (c) 2010 Michael Buesch <mb@bu3sch.de>
|
||||
# Copyright (C) 2010 Michael Buesch <mb@bu3sch.de>
|
||||
# Copyright (C) 2013 OpenWrt.org
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
@ -75,11 +76,14 @@ def parseVer_GIT(match, filepath):
|
|||
extensions = (
|
||||
".tar.gz",
|
||||
".tar.bz2",
|
||||
".tar.xz",
|
||||
".orig.tar.gz",
|
||||
".orig.tar.bz2",
|
||||
".orig.tar.xz",
|
||||
".zip",
|
||||
".tgz",
|
||||
".tbz",
|
||||
".txz",
|
||||
)
|
||||
|
||||
versionRegex = (
|
||||
|
|
Loading…
Reference in New Issue