10 lines
257 B
Bash
Executable File
10 lines
257 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
HERE=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
DEB="$HERE/dist/librenet-scanner_1.0.0_amd64.deb"
|
|
if [ ! -f "$DEB" ]; then
|
|
echo "Paquet .deb absent. Construction..."
|
|
"$HERE/packaging/build-deb.sh"
|
|
fi
|
|
exec sudo apt install "$DEB"
|