diff --git a/srcpkgs/transifex-cli/patches/disable-self-updates.patch b/srcpkgs/transifex-cli/patches/disable-self-updates.patch new file mode 100644 index 00000000000..b2ae0b0fd22 --- /dev/null +++ b/srcpkgs/transifex-cli/patches/disable-self-updates.patch @@ -0,0 +1,14 @@ +diff --git a/internal/txlib/update.go b/internal/txlib/update.go +index 98b6f6d..8b397a9 100644 +--- a/internal/txlib/update.go ++++ b/internal/txlib/update.go +@@ -18,6 +18,9 @@ type UpdateCommandArguments struct { + } + + func UpdateCommand(arguments UpdateCommandArguments) error { ++ fmt.Println("This version cannot perform self-updates") ++ return nil ++ + if arguments.Debug { + selfupdate.EnableLog() + } diff --git a/srcpkgs/transifex-cli/template b/srcpkgs/transifex-cli/template index 999b461c7c5..c8d753ad722 100644 --- a/srcpkgs/transifex-cli/template +++ b/srcpkgs/transifex-cli/template @@ -1,6 +1,6 @@ # Template file for 'transifex-cli' pkgname=transifex-cli -version=1.2.1 +version=1.3.0 revision=1 wrksrc="cli-${version}" build_style=go @@ -12,7 +12,7 @@ license="Apache-2.0" homepage="https://github.com/transifex/cli" changelog="https://github.com/transifex/cli/releases" distfiles="https://github.com/transifex/cli/archive/refs/tags/v${version}.tar.gz" -checksum=f8a76381294cdd75872de5b69acf2781d912e3a7e5e870bc41f0ee358715a3be +checksum=e1cbf24e4c0dcb08d3d13c543e36156b50d420e6cc6198f30fba354016f4fd32 post_install() { mv ${DESTDIR}/usr/bin/{cli,transifex}