mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-20 09:47:49 +02:00
[misc] update gpt file permissions in install.sh (#3663)
* Fix install.sh for some installations Fix install.sh for some installations by explicitly setting the file permissions * Add sudo
This commit is contained in:
parent
0c93bd3d06
commit
a37368fff4
@ -109,6 +109,9 @@ add_apt_repo() {
|
||||
curl -sSL https://pkgs.netbird.io/debian/public.key \
|
||||
| ${SUDO} gpg --dearmor -o /usr/share/keyrings/netbird-archive-keyring.gpg
|
||||
|
||||
# Explicitly set the file permission
|
||||
${SUDO} chmod 0644 /usr/share/keyrings/netbird-archive-keyring.gpg
|
||||
|
||||
echo 'deb [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] https://pkgs.netbird.io/debian stable main' \
|
||||
| ${SUDO} tee /etc/apt/sources.list.d/netbird.list
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user