From a4e9924154600e329889fe2564b6331575b25e37 Mon Sep 17 00:00:00 2001 From: Giulio Moro Date: Fri, 5 Oct 2018 11:57:54 +0100 Subject: [PATCH] Accepting the fact that there may be no debs. --- scripts/chroot.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/chroot.sh b/scripts/chroot.sh index 2e33f11..70ae33e 100755 --- a/scripts/chroot.sh +++ b/scripts/chroot.sh @@ -35,10 +35,9 @@ export LC_ALL="en_GB.UTF-8" echo "~~~~ Install .deb files ~~~~" -cd /opt/deb -dpkg -i *deb +ls /opt/deb/*deb &> /dev/null && dpkg -i /opt/deb/*deb rm -rf /opt/deb -dpkg -i /root/Bela/resources/stretch/deb/*deb +ls /root/Bela/resources/stretch/deb/*deb &> /dev/null && dpkg -i /root/Bela/resources/stretch/deb/*deb ldconfig echo "~~~~ installing bela kernel ~~~~"