ocd stuff

This commit is contained in:
mfgbhatti 2022-02-19 20:56:38 +00:00
parent 7466e32a59
commit 7bca2c1e94
6 changed files with 10 additions and 7 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck disable=SC1091,SC2001
# shellcheck source=./setup.conf
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"

View File

@ -10,7 +10,7 @@ else
echo "ERROR! Missing file: setup.conf"
exit 0
fi
logo
echo "basic installations"
install_pkg networkmanager dhclient reflector \
rsync arch-install-scripts \

View File

@ -1,8 +1,5 @@
#!/usr/bin/env bash
# You can solve users running this script as root
# with this and then doing the same for the next for statement.
# However I will leave this up to you.
# shellcheck disable=SC1091
# shellcheck source=./setup.conf
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
@ -19,6 +16,9 @@ install_aur() {
"$AURHELPER" -S --noconfirm --needed "$@"
}
logo
title "Installing AUR helper"
cd "$HOME" || exit 0
case "$AURHELPER" in
"yay")

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck disable=SC1091
# shellcheck source=./setup.conf
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
@ -11,6 +12,8 @@ else
exit 0
fi
logo
title "Post Install and cleaning"
if [[ "$LAYOUT" -eq 1 || "$BOOTLOADER" =~ "grub" ]]; then
echo -e "Installing CyberRe Grub theme..."
THEME_DIR="/boot/grub/themes"

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck disable=SC1091
# shellcheck source=./setup.conf

View File

@ -1,7 +1,5 @@
#!/usr/bin/env bash
# This script will ask users about their prefrences
# like disk, file system, timezone, keyboard layout,
# user name, password, etc.
# shellcheck disable=SC2207,SC2120
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"