2023-07-27 19:24:09 +00:00
|
|
|
#!/bin/bash
|
2023-08-07 15:22:57 +00:00
|
|
|
# Prerequisites
|
|
|
|
sudo pacman --noconfirm -Syu cabextract;
|
|
|
|
|
2023-07-27 19:24:09 +00:00
|
|
|
contextRoot="$(mktemp -d)";
|
2023-08-07 15:52:32 +00:00
|
|
|
pushd "$contextRoot" > /dev/null;
|
2023-07-27 19:24:09 +00:00
|
|
|
git clone "https://github.com/dlundqvist/xone.git" "$contextRoot";
|
|
|
|
sudo "$contextRoot/install.sh" --release;
|
|
|
|
yes "" | sudo xone-get-firmware.sh;
|
2023-08-07 15:52:23 +00:00
|
|
|
popd;
|
2023-08-07 15:52:32 +00:00
|
|
|
rm -rf "$contextRoot" > /dev/null;
|