diff options
author | 2024-07-16 19:01:30 +0200 | |
---|---|---|
committer | 2024-07-16 19:01:32 +0200 | |
commit | e711fe43f54e10eae507009bb587e5f5082a1e0a (patch) | |
tree | 242f057c5ec94a105746e2c7e1de994462969fb8 /app-crypt | |
parent | net-vpn/mullvadvpn-app: add myself as a maintainer (diff) | |
download | guru-e711fe43f54e10eae507009bb587e5f5082a1e0a.tar.gz guru-e711fe43f54e10eae507009bb587e5f5082a1e0a.tar.bz2 guru-e711fe43f54e10eae507009bb587e5f5082a1e0a.zip |
app-crypt/autofirma: Change User Agent from Fedora to Gentoo
Signed-off-by: Ivan Lloro <ivan.lloro.boada@gmail.com>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/autofirma/autofirma-1.8.3.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild index 89b6493688..2b82b2135f 100644 --- a/app-crypt/autofirma/autofirma-1.8.3.ebuild +++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild @@ -30,9 +30,9 @@ BDEPEND=" pkg_pretend() { # Upstream blocks vanilla wget, so we set up a browser User-Agent as a fallback. local URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip" - local USER_AGENT="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" + local USER_AGENT="Mozilla/5.0 (X11; Gentoo; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" local DISTFILE="${PORTAGE_ACTUAL_DISTDIR}/${PF}.zip" - [ -f "${DISTFILE}" ] || /usr/sbin/wget --user-agent="${USER_AGENT}" "${URI}" -O "${DISTFILE}" + [[ -f "${DISTFILE}" ]] || /usr/sbin/wget --user-agent="${USER_AGENT}" "${URI}" -O "${DISTFILE}" } pkg_nofetch() { |