diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-05 20:38:58 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-05 22:45:30 +0100 |
commit | 6687698375d7846a50ab00f1ad5a151618464e14 (patch) | |
tree | f694a87983d76b789affa02afd6373a6fe14c6c1 /standalone/bash/fetch.sh | |
parent | wg-quick: accept ancient iproute2 (diff) | |
download | android_kernel_wireguard-6687698375d7846a50ab00f1ad5a151618464e14.tar.xz android_kernel_wireguard-6687698375d7846a50ab00f1ad5a151618464e14.zip |
Create flashable zip
Diffstat (limited to 'standalone/bash/fetch.sh')
-rwxr-xr-x | standalone/bash/fetch.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/standalone/bash/fetch.sh b/standalone/bash/fetch.sh new file mode 100755 index 0000000..b1b77e8 --- /dev/null +++ b/standalone/bash/fetch.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -e + +if [ ! -d android_external_bash-cm-14.1 ]; then + curl -L -o bash.zip https://github.com/LineageOS/android_external_bash/archive/cm-14.1.zip + unzip bash.zip + rm bash.zip +fi + +if [ ! -d android_external_libncurses-cm-14.1 ]; then + curl -L -o ncurses.zip https://github.com/LineageOS/android_external_libncurses/archive/cm-14.1.zip + unzip ncurses.zip + rm ncurses.zip +fi |