#!/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"