Return to mtctl_default.sh CVS log | Up to [local] / mtctl |
version 1.1.1.2, 2021/08/31 17:01:08 | version 1.2, 2021/09/02 16:17:35 | ||
---|---|---|---|
|
|
||
NEWESTVERSION=$(curl https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/version.txt?content-type=text/plain 2> /dev/null) | NEWESTVERSION=$(curl https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/version.txt?content-type=text/plain 2> /dev/null) | ||
if [ "$NEWESTVERSION" \!= "$VERSION" ]; then | if [ "$NEWESTVERSION" \!= "$VERSION" ]; then | ||
mtinfo "Update avaible!\n\nInstalling update NOW!" | mtinfo "Update avaible!\n\nInstalling update NOW!" | ||
curl 'https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/installer.sh?content-type=text/plain' 2> /dev/null | $SHELL | curl -sSL https://ircforever.org/mtctl.php | $SHELL | ||
fi | fi | ||
;; | ;; | ||
help) | help) |