Skip to content

Commit

Permalink
Add ARCH CHECK to download appropriate packages
Browse files Browse the repository at this point in the history
  • Loading branch information
therohitdas committed Sep 4, 2024
1 parent 8e5ae60 commit fcae05a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions install/desktop/app-signal.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
if [ "$(uname -m)" = "aarch64" ]; then
sudo snap install signal-desktop
else
wget -qO- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor >signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg >/dev/null
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |
sudo tee /etc/apt/sources.list.d/signal-xenial.list
rm signal-desktop-keyring.gpg
sudo apt update
sudo apt install -y signal-desktop
fi
2 changes: 1 addition & 1 deletion install/terminal/mise.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
sudo apt update -y && sudo apt install -y gpg sudo wget curl
sudo install -dm 755 /etc/apt/keyrings
wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/mise-archive-keyring.gpg 1>/dev/null
echo "deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=amd64] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list
echo "deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=$(dpkg --print-architecture)] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list
sudo apt update
sudo apt install -y mise

0 comments on commit fcae05a

Please sign in to comment.