Skip to content

Commit

Permalink
Update influxdb.sh
Browse files Browse the repository at this point in the history
tweak
  • Loading branch information
tteck authored May 30, 2023
1 parent 2c8341e commit b612d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ct/influxdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function default_settings() {

function update_script() {
header_info
if [[ ! -f /etc/apt/sources.list.d/influxdata.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
if [[ ! -f /etc/apt/sources.list.d/influxdb.list || ! -f /etc/apt/sources.list.d/influxdata.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP}"
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
cat influxdata-archive_compat.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
Expand Down

0 comments on commit b612d7a

Please sign in to comment.