Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed
#!/bin/bash# convert .MO compressed file back into directory tree## Author: Tomas M. <http://www.linux-live.org>#if [ ! -d "$2" ]; thenechoecho "Convert .MO compressed module back into directory tree"echo "usage: $0 source_file.mo existing_output_directory"exit 1fiif [ -a ./liblinuxlive ]; then. ./liblinuxliveelse. /usr/lib/liblinuxlive || exit 1fiTMPDIR=/tmp/mo2dir$$mkdir -p $TMPDIRmount_module "$1" "$TMPDIR"cp -R --preserve "$TMPDIR"/* "$2"umount "$TMPDIR"rmdir "$TMPDIR"