Add .tar.xz, .txz, and .orig.tar.xz as known extensions to dl_cleanup.py.

Signed-off-by: Ian Leonard <antonla...@gmail.com>
---
Index: scripts/dl_cleanup.py
===================================================================
--- scripts/dl_cleanup.py       (revision 35642)
+++ scripts/dl_cleanup.py       (working copy)
@@ -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 <m...@bu3sch.de>
+# Copyright (C) 2010 Michael Buesch <m...@bu3sch.de>
+# Copyright (C) 2013 OpenWrt.org
 """
 
 import sys
@@ -75,11 +76,14 @@
 extensions = (
        ".tar.gz",
        ".tar.bz2",
+       ".tar.xz",
        ".orig.tar.gz",
        ".orig.tar.bz2",
+       ".orig.tar.xz",
        ".zip",
        ".tgz",
        ".tbz",
+       ".txz",
 )
 
 versionRegex = (
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to