summaryrefslogtreecommitdiff
path: root/lsinitrd.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-04-02 11:03:53 +0200
committerHarald Hoyer <harald@redhat.com>2012-04-03 09:19:48 +0200
commitbdb818997d83316f4b497004fe9085c4bbd2effa (patch)
tree5c27ea0a1420a48d72ad2e96f396173f0cf25fc6 /lsinitrd.sh
parentfc87119069baf86d115f4dce86e8db8e81435dde (diff)
downloaddracut-bdb818997d83316f4b497004fe9085c4bbd2effa.tar.gz
dracut-bdb818997d83316f4b497004fe9085c4bbd2effa.tar.bz2
dracut-bdb818997d83316f4b497004fe9085c4bbd2effa.zip
lsinitrd: handle LZMA file type
Diffstat (limited to 'lsinitrd.sh')
-rwxr-xr-xlsinitrd.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/lsinitrd.sh b/lsinitrd.sh
index ebae1e0e..1eaa37dd 100755
--- a/lsinitrd.sh
+++ b/lsinitrd.sh
@@ -46,8 +46,10 @@ elif [[ "$FILE_T" =~ :\ xz\ compressed\ data ]]; then
CAT="xzcat $XZ_SINGLE_STREAM"
elif [[ "$FILE_T" =~ :\ XZ\ compressed\ data ]]; then
CAT="xzcat $XZ_SINGLE_STREAM"
+elif [[ "$FILE_T" =~ :\ LZMA ]]; then
+ CAT="xzcat $XZ_SINGLE_STREAM"
elif [[ "$FILE_T" =~ :\ data ]]; then
- CAT=lzcat
+ CAT="xzcat $XZ_SINGLE_STREAM"
fi
if [[ $# -eq 2 ]]; then