Set working directory during xone
installation
This commit is contained in:
parent
995c8ba61a
commit
c1d1819497
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
contextRoot="$(mktemp -d)";
|
||||
pushd "$contextRoot";
|
||||
git clone "https://github.com/dlundqvist/xone.git" "$contextRoot";
|
||||
sudo "$contextRoot/install.sh" --release;
|
||||
yes "" | sudo xone-get-firmware.sh;
|
||||
popd "$contextRoot";
|
||||
rm -rf "$contextRoot";
|
||||
|
|
Loading…
Reference in a new issue