Commit 192635de authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Detect architecture

parent 384a3ad0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ trap 'error "Status $? while: ${BASH_COMMAND} (line $LINENO/$BASH_LINENO)"' ERR

STORAGE="/storage"
KERNEL=$(uname -r | cut -b 1)
ARCH=$(dpkg --print-architecture)

[ ! -d "$STORAGE" ] && error "Storage folder (${STORAGE}) not found!" && exit 13