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