]> git.hungrycats.org Git - linux/commitdiff
zygo: apparently Debian keeps sources in .xz now zygo-3.13.5-zb64
authorZygo Blaxell <zblaxell@waya.furryterror.org>
Fri, 7 Mar 2014 03:04:19 +0000 (22:04 -0500)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Fri, 7 Mar 2014 03:04:19 +0000 (22:04 -0500)
zygo/new-kernel

index 775b2d002fdbcf8dac6337b4443a36e797c8c131..57bccd43eb9fa34eba142ec5d4cae91135c4ec27 100755 (executable)
@@ -21,6 +21,9 @@ for x in *; do
        elif [ -s /usr/src/"$x"-source.tar.gz ]; then
                trash "$x"
                (cd .. && tar xzf /usr/src/"$x"-source.tar.gz)
+       elif [ -s /usr/src/"$x"-source.xz ]; then
+               trash "$x"
+               (cd .. && tar xf /usr/src/"$x"-source.xz -I xz)
        else
                echo "Can't figure out where module '$x' came from"
        fi