install dependecies
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 3 Oct 2020 08:56:20 +0000 (10:56 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 3 Oct 2020 08:56:20 +0000 (10:56 +0200)
debian-install.sh [new file with mode: 0755]

diff --git a/debian-install.sh b/debian-install.sh
new file mode 100755 (executable)
index 0000000..8e89dbe
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh -xe
+
+sudo apt install libdata-dump-perl libmodule-pluggable-perl dh-make-perl
+if [ ! -f libnet-mqtt-perl_*deb ] ; then
+       cpan2deb Net::MQTT::Message
+       dpkg -i libnet-mqtt-perl_*.deb 
+fi