move to git unix dog

This commit is contained in:
yosh 2023-09-06 22:41:59 -04:00
parent d3b192d4f5
commit e7b16d76e5
1 changed files with 2 additions and 8 deletions

View File

@ -47,14 +47,8 @@ _tempdir() {
checkupdate() {
errecho "you are running version ${GREEN}${VERSION}"
errecho "${YELLOW}checking for updates..."
if curl -s https://github.com/yoshiyoshyosh/flacconv/releases/latest/download/flacconv | cmp -s "$0" -; then
errecho "${GREEN}your script is updated to the latest version!"
else
errecho "${RED}your script differs from remote!"
errecho 'if this is unintentional, download the newest version from'
errecho 'https://github.com/yoshiyoshyosh/flacconv/releases/latest'
fi
errecho "until I learn if forgejo has an equivalent for github's latest release download shenanigans just check to see if this version matches the latest release"
errecho "https://git.unix.dog/yosh/flacconv/releases/latest"
exit 0
}