mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
15 lines
350 B
Bash
15 lines
350 B
Bash
#!/bin/bash
|
|
set -ex
|
|
|
|
# NOTE: this url will change regularly because it's unstable
|
|
PACKAGE=http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user-static_4.2-2_amd64.deb
|
|
|
|
mkdir tmp/
|
|
cd tmp/
|
|
|
|
curl $PACKAGE -o $(basename ${PACKAGE})
|
|
dpkg-deb -X $(basename ${PACKAGE}) .
|
|
cp usr/bin/qemu-aarch64-static ..
|
|
cp usr/bin/qemu-arm-static ..
|
|
cd ..
|
|
rm -rf tmp |