home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
host-198-236-40-254.wlwv.k12.or.us
/
host-198-236-40-254.wlwv.k12.or.us.tar
/
host-198-236-40-254.wlwv.k12.or.us
/
tsu
/
BareMetalInstall.iso
/
tools
/
mo2dir
< prev
next >
Wrap
Text File
|
2012-12-18
|
512b
|
21 lines
#!/bin/bash
# convert .MO compressed file back into directory tree
#
# Author: Tomas M. <http://www.linux-live.org>
#
if [ ! -d "$2" ]; then
echo
echo "Convert .MO compressed module back into directory tree"
echo "usage: $0 source_file.mo existing_output_directory"
exit 1
fi
PATH=.:$(dirname $0):/usr/lib:$PATH
. liblinuxlive || exit 1
# we need modified unsquashfs which supports -f
# I made the modifications and sent patch to squashfs author already
unsquashfs -f -dest "$2" "$1" >/dev/null