From fda14f8c09f19dc4eb941cf2f4559dee7242f8e3 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 17 Feb 2013 21:37:14 +0000 Subject: [PATCH] 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 Signed-off-by: Gabor Juhos SVN-Revision: 35645 --- scripts/dl_cleanup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/dl_cleanup.py b/scripts/dl_cleanup.py index 81c69f7aa5..e5cd52c806 100755 --- a/scripts/dl_cleanup.py +++ b/scripts/dl_cleanup.py @@ -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 +# Copyright (C) 2010 Michael Buesch +# 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 = ( -- 2.30.2