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
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
function install() {
|
||||
local dir="$(realpath "${BASH_SOURCE%/*}")";
|
||||
|
||||
function installDrivers() {
|
||||
local dir="${BASH_SOURCE%/*}";
|
||||
function installDrivers() {
|
||||
. "$dir/../../../scripts/Arch/Config/SecureBoot/install.sh";
|
||||
. "$dir/../../../scripts/Arch/Software/nvidia-dkms/install.sh";
|
||||
. "$dir/../../../scripts/Arch/Software/xone/install.sh";
|
||||
. "$dir/../../../scripts/Arch/Software/bt-dualboot/install.sh";
|
||||
}
|
||||
}
|
||||
|
||||
function initializeConfig() {
|
||||
local dir="${BASH_SOURCE%/*}";
|
||||
function initializeConfig() {
|
||||
. "$dir/../../../scripts/Unix/Devices/Logitech G903/install.sh";
|
||||
}
|
||||
|
||||
pushd "$dir" > /dev/null;
|
||||
. "../../../scripts/Arch/OS/install.sh";
|
||||
popd > /dev/null;
|
||||
}
|
||||
|
||||
. "../../../scripts/Arch/OS/install.sh";
|
||||
|
||||
popd > /dev/null;
|
||||
install;
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#!/bin/bash -e
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
function install() {
|
||||
local dir="$(realpath "${BASH_SOURCE%/*}")";
|
||||
|
||||
function installDrivers() {
|
||||
local dir="${BASH_SOURCE%/*}";
|
||||
function installDrivers() {
|
||||
. "$dir/../../../scripts/Arch/Config/SecureBoot/install.sh";
|
||||
}
|
||||
|
||||
|
||||
. "../../../scripts/Arch/OS/install.sh";
|
||||
}
|
||||
|
||||
. "../../../scripts/Arch/OS/install.sh";
|
||||
|
||||
popd > /dev/null;
|
||||
install;
|
||||
|
|
Loading…
Reference in a new issue