Skip to content

Commit 464ccd8

Browse files
committed
usr/sbin/grommunio-repo: LANG=C to not run into translated messages
1 parent ed7545b commit 464ccd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

usr/sbin/grommunio-repo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
export LANG=C
23
GREEN="\x1b[32m"
34
RED="\x1b[31m"
45
TXTRST="\x1b[0m"
@@ -80,7 +81,7 @@ add_grommunio_repo() {
8081
mkdir -p /etc/apt/keyrings
8182
KEYRING=/etc/apt/keyrings/download.grommunio.com
8283
tmp=$(mktemp)
83-
trap 'rm -f $tmp' EXIT INT HUP
84+
trap 'rm -f $tmp{,.gpg,.asc}' EXIT INT HUP
8485
/usr/lib/apt/apt-helper download-file https://download.grommunio.com/RPM-GPG-KEY-grommunio "$tmp"
8586
if command -v gpg >/dev/null; then
8687
EXT=gpg; KEYRING=$KEYRING.$EXT

0 commit comments

Comments
 (0)