apache2 + helpers
This commit is contained in:
parent
7cc6888cca
commit
8ad20ca7fd
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user