11 lines
318 B
Bash
Executable file
11 lines
318 B
Bash
Executable file
#!/bin/bash
|
|
# Prerequisites
|
|
sudo pacman --noconfirm -Syu cabextract;
|
|
|
|
contextRoot="$(mktemp -d)";
|
|
pushd "$contextRoot" > /dev/null;
|
|
git clone "https://github.com/dlundqvist/xone.git" "$contextRoot";
|
|
sudo "$contextRoot/install.sh" --release;
|
|
yes "" | sudo xone-get-firmware.sh;
|
|
popd;
|
|
rm -rf "$contextRoot" > /dev/null;
|