I changed the code from the script so now you can use this script for all Tinycore Versions and Build/Arch, given by command line argument
./dependencie_finder2_pub.sh
no extension was given..
Usage: ./dependencie_finder2_pub.sh [arguments]
Arguments:
-b, --build Sets the build/arch, if not set the system default will be used
system default: x86_64
-d, --destdir Sets the Destination Directory, if not set the system default will be used
system default: /etc/sysconfig/tcedir/optional
-e, --extension Which extention/s you want, if you want two like mc and bash use -e mc bash
-m, --mirror Sets the tinycore repository, if not set the system default will be used
system default: ftp://192.168.234.123/6.x/x86_64/tcz
-s, --extensionfilesource Sets the location of the extensionfiles, if not set the system default will be used
system default: /etc/sysconfig/tcedir/optional
-v, --majorversion Sets the MajorVerion, if not set the system default will be used
system default: 6
Example: get a extension for Tinycore 5x x86 -e mc, commandline would be:
./dependencie_finder2_pub.sh -b x86 -v5 -d /tmp/destionationfolder
Example: get a extension for Tinycore 7x x86_64 -e mc, commandline would be:
./dependencie_finder2_pub.sh -b x86_64 -v7 -d /tmp/destionationfolder
ideas and suggestions are welcome.
Halma