Fix relative paths in ManuSurface install script
This commit is contained in:
parent
ea908b5255
commit
568313c06a
1 changed files with 24 additions and 24 deletions
|
@ -1,28 +1,28 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
function install() {
|
||||||
|
local dir="$(realpath "${BASH_SOURCE%/*}")";
|
||||||
|
|
||||||
function installDrivers() {
|
function installDrivers() {
|
||||||
local dir="${BASH_SOURCE%/*}";
|
. "$dir/../../../scripts/Arch/Config/SecureBoot/install.sh";
|
||||||
. "$dir/../../../scripts/Arch/Config/SecureBoot/install.sh";
|
. "$dir/../../../scripts/Arch/Drivers/SurfaceBook2/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;
|
||||||
}
|
}
|
||||||
|
|
||||||
function installSoftware() {
|
install;
|
||||||
local dir="${BASH_SOURCE%/*}";
|
|
||||||
. "$dir/../../../scripts/Arch/Collections/school.sh";
|
|
||||||
}
|
|
||||||
|
|
||||||
function initializeConfig() {
|
|
||||||
local dir="${BASH_SOURCE%/*}";
|
|
||||||
. "$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";
|
|
||||||
}
|
|
||||||
|
|
||||||
. "../../../scripts/Arch/OS/install.sh";
|
|
||||||
|
|
||||||
|
|
||||||
popd > /dev/null;
|
|
||||||
|
|
Loading…
Reference in a new issue