Skip to content

Commit c9e2306

Browse files
committed
Remove sudo usages.
1 parent d6b3d36 commit c9e2306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stripe-cli/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ fi
8282
echo "Downloading Stripe CLI..."
8383

8484
. /etc/os-release
85-
curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/public | gpg --dearmor | sudo tee /usr/share/keyrings/stripe.gpg
86-
echo "deb [signed-by=/usr/share/keyrings/stripe.gpg] https://packages.stripe.dev/stripe-cli-debian-local stable main" | sudo tee -a /etc/apt/sources.list.d/stripe.list
85+
curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/public | gpg --dearmor | tee /usr/share/keyrings/stripe.gpg
86+
echo "deb [signed-by=/usr/share/keyrings/stripe.gpg] https://packages.stripe.dev/stripe-cli-debian-local stable main" | tee -a /etc/apt/sources.list.d/stripe.list
8787
apt-get update
8888
apt-get -y install "stripe${version_suffix}"
8989
echo "Done!"

0 commit comments

Comments
 (0)