move to git unix dog
This commit is contained in:
parent
d3b192d4f5
commit
e7b16d76e5
10
flacconv
10
flacconv
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue