ocd stuff
This commit is contained in:
parent
7466e32a59
commit
7bca2c1e94
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# shellcheck disable=SC1091,SC2001
|
# shellcheck disable=SC1091,SC2001
|
||||||
# shellcheck source=./setup.conf
|
# shellcheck source=./setup.conf
|
||||||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ else
|
||||||
echo "ERROR! Missing file: setup.conf"
|
echo "ERROR! Missing file: setup.conf"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
logo
|
||||||
echo "basic installations"
|
echo "basic installations"
|
||||||
install_pkg networkmanager dhclient reflector \
|
install_pkg networkmanager dhclient reflector \
|
||||||
rsync arch-install-scripts \
|
rsync arch-install-scripts \
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/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 disable=SC1091
|
||||||
# shellcheck source=./setup.conf
|
# shellcheck source=./setup.conf
|
||||||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
||||||
|
|
@ -19,6 +16,9 @@ install_aur() {
|
||||||
"$AURHELPER" -S --noconfirm --needed "$@"
|
"$AURHELPER" -S --noconfirm --needed "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logo
|
||||||
|
title "Installing AUR helper"
|
||||||
|
|
||||||
cd "$HOME" || exit 0
|
cd "$HOME" || exit 0
|
||||||
case "$AURHELPER" in
|
case "$AURHELPER" in
|
||||||
"yay")
|
"yay")
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
# shellcheck source=./setup.conf
|
# shellcheck source=./setup.conf
|
||||||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
||||||
|
|
@ -11,6 +12,8 @@ else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
logo
|
||||||
|
title "Post Install and cleaning"
|
||||||
if [[ "$LAYOUT" -eq 1 || "$BOOTLOADER" =~ "grub" ]]; then
|
if [[ "$LAYOUT" -eq 1 || "$BOOTLOADER" =~ "grub" ]]; then
|
||||||
echo -e "Installing CyberRe Grub theme..."
|
echo -e "Installing CyberRe Grub theme..."
|
||||||
THEME_DIR="/boot/grub/themes"
|
THEME_DIR="/boot/grub/themes"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
# shellcheck source=./setup.conf
|
# shellcheck source=./setup.conf
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
# shellcheck disable=SC2207,SC2120
|
||||||
|
|
||||||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue