pull/40/head
TomasM 2017-10-19 11:19:34 -04:00
parent 8a23f45d14
commit 4342081e9a
3 changed files with 15 additions and 1 deletions

View File

@ -3,5 +3,6 @@
(cd rootcopy && cp --parents -afr * /)
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

13
tools/sb2dir 100755
View File

@ -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