From cdd15b21cc87ec6f7a8bf62eb2701c6607cfe5a2 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 8 Jan 2024 18:13:34 +0100 Subject: [PATCH] fix placement sigh --- scripts/_common.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 64ec3fc..80e1425 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -26,9 +26,8 @@ detect_arch(){ elif uname -m | grep -q "armv7" ; then architecture="armv7" else - architecture="unknown" + ynh_die --message="The script can't identify a valid architecture. Please report this error." fi - ynh_die --message="The script can't identify a valid architecture. Please report this error." } # custom function to change bash bool 0/1 to false/true