#!/bin/bash -e function install() { local dir="$(realpath "${BASH_SOURCE%/*}")"; function installDrivers() { . "$dir/../../../scripts/Arch/Config/SecureBoot/install.sh"; . "$dir/../../../scripts/Arch/Drivers/SurfaceBook2/install.sh"; } function installSoftware() { . "$dir/../../../scripts/Arch/Collections/school.sh"; } function initializeConfig() { . "$dir/../../../scripts/Common/Config/Steam/hidpi.sh"; . "$dir/../../../scripts/Unix/Devices/Surface Book 2/install.sh"; . "$dir/../../../scripts/Unix/Devices/Logitech G903/install.sh"; # Because, as it looks, Surface Books are fucking stupid. . "$dir/../../../scripts/Common/Config/GRUB/verbose.sh"; } pushd "$dir" > /dev/null; . "../../../scripts/Arch/OS/install.sh"; popd > /dev/null; } install;