slitaz-modular view initramfs/usr/bin/xz2dir @ rev 54

Fixed off option when tazpanel is release. Made sure MAIN_WWW_DIR/slitaz links to /var/www/slitaz. Add slitaz-modular soft link to COOKING folder for new slitaz-modular script.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 10 12:44:31 2011 +0000 (2011-04-10)
parents
children
line source
1 #!/bin/bash
2 # convert .xz compressed file back into directory tree
3 #
4 # Author: Tomas M. <http://www.linux-live.org>
5 #
7 if [ ! -d "$2" ]; then
8 echo
9 echo "Convert .lzm compressed module back into directory tree"
10 echo "usage: $0 source_file.xz existing_output_directory"
11 exit 1
12 fi
14 PATH=.:$(dirname $0):/usr/lib:$PATH
15 . liblinuxlive || exit 1
17 unsquashfs -f -dest "$2" "$1" >/dev/null