Update install scripts
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
0f4429037c
commit
b591b8de02
5 changed files with 4 additions and 22 deletions
|
@ -1,16 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
#
|
|
||||||
# SCRIPT NAME:
|
|
||||||
# fonts.sh
|
|
||||||
#
|
|
||||||
# AUTHOR:
|
|
||||||
# Severin Kaderli <severin@kaderli.dev>
|
|
||||||
#
|
|
||||||
# DESCRIPTION:
|
|
||||||
# Setups fonts
|
|
||||||
|
|
||||||
output::section "Fonts"
|
|
||||||
output::log "Prepare xorg fonts"
|
|
||||||
sudo mkfontdir /usr/share/fonts/75dpi |& output::debug
|
|
||||||
sudo mkfontdir /usr/share/fonts/100dpi |& output::debug
|
|
||||||
output::success "Successfully prepared xorg fonts"
|
|
|
@ -8,7 +8,6 @@
|
||||||
#
|
#
|
||||||
# DESCRIPTION:
|
# DESCRIPTION:
|
||||||
# Installs the prerequisites for the installation script.
|
# Installs the prerequisites for the installation script.
|
||||||
|
|
||||||
output::section "Prerequisites"
|
output::section "Prerequisites"
|
||||||
|
|
||||||
output::log "Installing requirements for install script"
|
output::log "Installing requirements for install script"
|
||||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_RUST_COMPONENTS=(
|
||||||
"clippy"
|
"clippy"
|
||||||
"rls"
|
"rls"
|
||||||
"rustfmt"
|
"rustfmt"
|
||||||
|
"rust-src"
|
||||||
)
|
)
|
||||||
|
|
||||||
output::section "Rust"
|
output::section "Rust"
|
||||||
|
|
|
@ -11,5 +11,5 @@
|
||||||
|
|
||||||
output::section "Shell"
|
output::section "Shell"
|
||||||
output::log "Setting default shell to zsh"
|
output::log "Setting default shell to zsh"
|
||||||
chsh -s "/bin/zsh"
|
sudo chsh -s "/bin/zsh" "${USER}"
|
||||||
output::success "Successfully set default shell to zsh"
|
output::success "Successfully set default shell to zsh"
|
||||||
|
|
6
install
6
install
|
@ -30,12 +30,13 @@ source "${INSTALL_DIR}/lib/lib.sh"
|
||||||
# Configuration variables #
|
# Configuration variables #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
HOST="$(hostname)"
|
HOST="$(hostname)"
|
||||||
|
USER="$(whoami)"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Installtion information #
|
# Installtion information #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
echo "${BOLD}Before you continue with this script make sure that:"
|
echo "${BOLD}Before you continue with this script make sure that:"
|
||||||
echo " • The user severin is added to the sudoers file"
|
echo " • The user ${USER} is added to the sudoers file"
|
||||||
echo " • The multilib repository is uncommented in /etc/pacman.conf"
|
echo " • The multilib repository is uncommented in /etc/pacman.conf"
|
||||||
echo -e " • Your SSH keys are located in ~/.ssh${RESET}\n"
|
echo -e " • Your SSH keys are located in ~/.ssh${RESET}\n"
|
||||||
|
|
||||||
|
@ -45,8 +46,6 @@ fi
|
||||||
|
|
||||||
source "${INSTALL_DIR}/prerequisites.sh"
|
source "${INSTALL_DIR}/prerequisites.sh"
|
||||||
|
|
||||||
sudo printf ""
|
|
||||||
|
|
||||||
source "${INSTALL_DIR}/arch.sh"
|
source "${INSTALL_DIR}/arch.sh"
|
||||||
source "${INSTALL_DIR}/rust.sh"
|
source "${INSTALL_DIR}/rust.sh"
|
||||||
source "${INSTALL_DIR}/aur.sh"
|
source "${INSTALL_DIR}/aur.sh"
|
||||||
|
@ -63,7 +62,6 @@ source "${INSTALL_DIR}/etc.sh"
|
||||||
source "${INSTALL_DIR}/ntp.sh"
|
source "${INSTALL_DIR}/ntp.sh"
|
||||||
source "${INSTALL_DIR}/lockscreen.sh"
|
source "${INSTALL_DIR}/lockscreen.sh"
|
||||||
source "${INSTALL_DIR}/issue.sh"
|
source "${INSTALL_DIR}/issue.sh"
|
||||||
source "${INSTALL_DIR}/fonts.sh"
|
|
||||||
source "${INSTALL_DIR}/shell.sh"
|
source "${INSTALL_DIR}/shell.sh"
|
||||||
|
|
||||||
output::section "Post installation information"
|
output::section "Post installation information"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue