Fix InfluxDB APT key: add fallback sources and trusted=yes (#119)

* Fix InfluxDB APT key: add fallback sources and trusted=yes fallback

The key URL at repos.influxdata.com/influxdata-archive.key is intermittently
down. Add keyserver.ubuntu.com as fallback source. Use trusted=yes as last
resort if key fetch fails. Also correct keyring path to /usr/share/keyrings/
and remove Bookworm-specific comment.

* Fix shellcheck issues: remove duplicate shebang, fix cd error handling

---------

Co-authored-by: Jarvis <jarvis@wickedyoda.local>
This commit is contained in:
WickedYodaandJarvis authored and GitHub committed 2026-09-14 11:39:21 -05:00
1 parent 60eb87ce59
commit bcbe8b1d40
2 files changed
+25 -12

No files matched your search

+2 -3
View File
@@ -1,5 +1,4 @@
#!/bin/bash
!/bin/bash
# ----------------------------------------------------------------------
# | Add repos |
@@ -46,8 +45,8 @@ sudo apt-get -y install
# | Install Discord |
# ----------------------------------------------------------------------
cd /home/traver/Downloads
wget -O discord-0.0.1.deb https://discordapp.com/api/download?platform=linux&format=deb
cd /home/traver/Downloads || exit
wget -O discord-0.0.1.deb 'https://discordapp.com/api/download?platform=linux&format=deb'
sudo dpkg -i discord-0.0.1.deb