apache2 + helpers

This commit is contained in:
Anthony Axenov 2023-04-12 22:11:17 +08:00
parent 7cc6888cca
commit 8ad20ca7fd
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
2 changed files with 14 additions and 9 deletions

View File

@ -1,16 +1,15 @@
#!/bin/bash
##makedesc: Install apache2 (latest)
[ -f `dirname $0`/../helpers ] && source `dirname $0`/../helpers || exit 255
echo
echo "==============================================="
echo "Installing apache2..."
echo "==============================================="
echo
title
sudo apt install -y --autoremove apache2 && \
sudo systemctl restart apache2
echo
echo "Finish!"
apache2 -v
echo
[ $? = 0 ] && {
echo
success "apache2 installed!"
apache2 -v
echo
}

View File

@ -12,3 +12,9 @@ mkdir -p "$HOME/install/jbmono" "$HOME/.local/share/fonts/"
download "https://download.jetbrains.com/fonts/JetBrainsMono-2.304.zip" "$HOME/install/jbmono.zip" && \
unzip -oj "$HOME/install/jbmono.zip" "fonts/ttf/*.ttf" -d "$HOME/.local/share/fonts/" && \
fc-cache -vf "$HOME/.local/share/fonts/"
[ $? = 0 ] && {
echo
success "JetBrains Mono fonts installed!"
echo
}