mod v0.1 (c)2005, Prof A Olowofoyeku (The African Chief) -------------------------------------------------------- This is a linux program to install/uninstall my Smoothwall mods. It will also work with any other SW mod that is packaged in a .tar.bz2 or .tar.gz archive, AND is installed only by extracting the files in the tarball. If the mod has its own install script that has to be run after extracting the tarball, this program will NOT be suitable for you. Please read the DISCLAIMER section below BEFORE attempting to use this program. Usage ----- Syntax = mod [--root ] Switches: -i = install the mod "file" (creating file.uninstall) -u = uinstall the mod "file" (trying to use file.uninstall) --root = change to "dir" before starting (default = "/") --help = show the help screen If you are installing into the main SW directories (i.e., "/usr/"), then you do not need the "--root" switch. This switch is only useful if you want to install into a different place (e.g., under the home or /root directories). Examples: --------- mod -i /tmp/foo.tar.bz2 (goes to the "/" directory and installs there) mod -i /tmp/foo.tar.bz2 --root /root/test (goes to the "/root/test" directory and installs there) mod -u /tmp/foo.tar.bz2 (removes any files corresponding to those in the tarball, with the prefix "/" - i.e., starting from the "/" directory) mod -u /tmp/foo.tar.bz2 --root /root/test (removes any files corresponding to those in the tarball, with the prefix "/root/test" - i.e., starting from the "/root/test" directory) Disclaimer ---------- You'd better know what you're doing before using this program. This program is supplied without any warranties whatsoever. You use it entirely at your own risk. If this is not acceptable to you, then you have no licence to use this program, and you must delete it immediately. Licence ------- This program is freeware.