Gogh-Co / Gogh

Gogh is a collection of color schemes for various terminal emulators, including Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal also compatible with iTerm on macOS.
https://gogh-co.github.io/Gogh/
MIT License
9.28k stars 594 forks source link

No script is executed with $ bash -c "$(wget -qO- https://git.io/vQgMr)" #221

Closed jhartotr closed 4 years ago

jhartotr commented 4 years ago

$ bash -c "$(wget -qO- https://git.io/vQgMr)"

returns nothing.

$ uname -a Linux box 5.4.0-21-generic #25-Ubuntu SMP Sat Mar 28 13:10:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Focal Fossa (development branch) Release: 20.04 Codename: focal

$ gnome-terminal --version GNOME Terminal 3.35.91 using VTE 0.60.0 +BIDI +GNUTLS +ICU +SYSTEMD

Mgldvd commented 4 years ago

I couldn't reproduce the error, everything works as it should. Selection_001

jhartotr commented 4 years ago

I checked again and it turns out the wget call is failing as shown below. Shouldn't this work per default? In the past I ran the script and could install themes.

$ wget -O- https://git.io/vQgMr --2020-04-10 11:29:01-- https://git.io/vQgMr Resolving git.io (git.io)... 34.231.69.169, 34.192.111.148, 52.73.195.55, ... Connecting to git.io (git.io)|34.231.69.169|:443... connected. ERROR: cannot verify git.io's certificate, issued by ‘CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US’: Unable to locally verify the issuer's authority. To connect to git.io insecurely, use `--no-check-certificate'.

$ wget --version GNU Wget 1.20.3 built on linux-gnu.

-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls +ntlm +opie +psl +ssl/openssl

Wgetrc: /etc/wgetrc (system) Locale: /usr/share/locale Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc" -DLOCALEDIR="/usr/share/locale" -I. -I../../src -I../lib -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_LIBSSL -DNDEBUG -g -O2 -fdebug-prefix-map=/build/wget-OYIfr9/wget-1.20.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall Link: gcc -DHAVE_LIBSSL -DNDEBUG -g -O2 -fdebug-prefix-map=/build/wget-OYIfr9/wget-1.20.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -g -Wall -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -lpcre2-8 -luuid -lidn2 -lssl -lcrypto -lz -lpsl ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a

Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://www.gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic hniksic@xemacs.org. Please send bug reports and questions to bug-wget@gnu.org.

jhartotr commented 4 years ago

The following works:

$ bash -c "$(wget -qO- --no-check-certificate https://git.io/vQgMr)"