Fix file paths in installation functions
This commit is contained in:
parent
ae556b4b66
commit
16283bdb41
2 changed files with 26 additions and 22 deletions
|
@ -1,19 +1,21 @@
|
||||||
#!/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/Software/nvidia-dkms/install.sh";
|
||||||
. "$dir/../../../scripts/Arch/Software/nvidia-dkms/install.sh";
|
. "$dir/../../../scripts/Arch/Software/xone/install.sh";
|
||||||
. "$dir/../../../scripts/Arch/Software/xone/install.sh";
|
. "$dir/../../../scripts/Arch/Software/bt-dualboot/install.sh";
|
||||||
. "$dir/../../../scripts/Arch/Software/bt-dualboot/install.sh";
|
}
|
||||||
|
|
||||||
|
function initializeConfig() {
|
||||||
|
. "$dir/../../../scripts/Unix/Devices/Logitech G903/install.sh";
|
||||||
|
}
|
||||||
|
|
||||||
|
pushd "$dir" > /dev/null;
|
||||||
|
. "../../../scripts/Arch/OS/install.sh";
|
||||||
|
popd > /dev/null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function initializeConfig() {
|
install;
|
||||||
local dir="${BASH_SOURCE%/*}";
|
|
||||||
. "$dir/../../../scripts/Unix/Devices/Logitech G903/install.sh";
|
|
||||||
}
|
|
||||||
|
|
||||||
. "../../../scripts/Arch/OS/install.sh";
|
|
||||||
|
|
||||||
popd > /dev/null;
|
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
#!/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";
|
}
|
||||||
|
|
||||||
|
|
||||||
|
. "../../../scripts/Arch/OS/install.sh";
|
||||||
}
|
}
|
||||||
|
|
||||||
. "../../../scripts/Arch/OS/install.sh";
|
install;
|
||||||
|
|
||||||
popd > /dev/null;
|
|
||||||
|
|
Loading…
Reference in a new issue