Updat claws mail and VS code
This commit is contained in:
parent
422c5d194e
commit
af36cfcba4
3 changed files with 23 additions and 3 deletions
2
dotfiles
2
dotfiles
|
@ -1 +1 @@
|
||||||
Subproject commit f3d181729ebb0ab94dc384fd64c17ca651a792c5
|
Subproject commit 93a12833fa585887298d87d431f885c10cf0a404
|
20
install-stuff/install-claws-mail.bash
Normal file
20
install-stuff/install-claws-mail.bash
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
EDITOR=nano
|
||||||
|
|
||||||
|
if [ $(whoami) == "root" ]; then
|
||||||
|
echo "Run as a normal user, not root"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
command_exists() { type "$1" &>/dev/null; }
|
||||||
|
|
||||||
|
if command_exists "yay"; then
|
||||||
|
yay -S claws-mail python-gpgme nuspell aspell aspell-en
|
||||||
|
yay -S spamassassin
|
||||||
|
sudo systemctl enable --now spamassassin.service
|
||||||
|
cd ~
|
||||||
|
git clone https://git.askiiart.net/askiiart/gpg-email-helper
|
||||||
|
cd -
|
||||||
|
else
|
||||||
|
echo "IDK"
|
||||||
|
fi
|
|
@ -21,8 +21,8 @@ elif command_exists "yum"; then
|
||||||
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
|
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
|
||||||
yum check-update
|
yum check-update
|
||||||
sudo yum install code -y
|
sudo yum install code -y
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "yay"; then
|
||||||
yay -S visual-studio-code-bin --noconfirm --needed
|
yay -S visual-studio-code-bin clang-format-static-bin --noconfirm --needed
|
||||||
elif command_exists "zypp"; then
|
elif command_exists "zypp"; then
|
||||||
# Untested
|
# Untested
|
||||||
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
||||||
|
|
Loading…
Reference in a new issue