mirror of
https://github.com/bee-san/RustScan.git
synced 2026-11-07 09:46:04 -10:00
19 lines
320 B
Bash
19 lines
320 B
Bash
#!/bin/bash
|
|
|
|
cd /RustScan
|
|
git pull --force
|
|
|
|
#amd64
|
|
cargo deb
|
|
yes | dpkg -i *.deb
|
|
|
|
#arm64
|
|
rustup target add arm-unknown-linux-gnueabihf
|
|
cargo deb --target=arm-unknown-linux-gnueabihf
|
|
|
|
#i386
|
|
rustup target add i686-unknown-linux-gnu
|
|
cargo deb --target=i686-unknown-linux-gnu
|
|
|
|
find target/ -name \*.deb -exec cp {} /debs \;
|