aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-02-25 18:04:13 +0100
committerMateja <mail@matejamaric.com>2021-02-25 18:04:13 +0100
commite06d03a091e126899766106650adfa47b5194e2a (patch)
tree78578bb08d57ac840ed41785881bb1a638f09dc5
parent9c4ec61c0327dd5b42e448f663a1afdba726b5c2 (diff)
downloadsetup-scripts-e06d03a091e126899766106650adfa47b5194e2a.tar.gz
setup-scripts-e06d03a091e126899766106650adfa47b5194e2a.zip
Add Aerc install option.
-rwxr-xr-xsetup.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 59149fe..07b4dd6 100755
--- a/setup.sh
+++ b/setup.sh
@@ -7,6 +7,7 @@ neovim_install=false;
latex_install=false;
non_free=false;
nvidia_install=false;
+aerc_install=false;
read -p "Do you want to install Qtile? " -n 1 -r
echo
@@ -39,6 +40,10 @@ echo
[[ $REPLY =~ ^[Yy]$ ]] && $nvidia_install=true;
fi
+read -p "Do you want to install Aerc? " -n 1 -r
+echo
+[[ $REPLY =~ ^[Yy]$ ]] && $aerc_install=true;
+
# Adding non-free repos if necessary.
if [[ $non_free ]]
then
@@ -223,3 +228,14 @@ then
cd phpactor
composer install
fi
+
+
+if [[ $aerc_install ]]
+then
+ echo "Installing Aerc.."
+ sudo apt install -t buster-backports -y golang scdoc
+ git clone https://git.sr.ht/~sircmpwn/aerc
+ cd aerc && git checkout tags/0.5.2
+ make
+ sudo make install
+fi