sb2dir
parent
8a23f45d14
commit
4342081e9a
|
|
@ -3,5 +3,6 @@
|
||||||
(cd rootcopy && cp --parents -afr * /)
|
(cd rootcopy && cp --parents -afr * /)
|
||||||
|
|
||||||
cp ../../tools/dir2sb /usr/bin
|
cp ../../tools/dir2sb /usr/bin
|
||||||
cp ../../tools/slaxctl /usr/bin
|
cp ../../tools/sb2dir /usr/bin
|
||||||
|
cp ../../tools/slax /usr/bin
|
||||||
cp ../../tools/savechanges /usr/bin
|
cp ../../tools/savechanges /usr/bin
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# convert .sb compressed Slax Bundle file into directory tree
|
||||||
|
# Author: Tomas M. <http://www.slax.org/>
|
||||||
|
#
|
||||||
|
|
||||||
|
if [ ! -d "$2" ]; then
|
||||||
|
echo
|
||||||
|
echo "Convert .sb compressed module into directory tree"
|
||||||
|
echo "usage: $0 source_file.sb existing_output_directory"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
unsquashfs -f -dest "$2" "$1" >/dev/null
|
||||||
Loading…
Reference in New Issue