Skip to content

Commit 7060eb4

Browse files
committed
scripts/customize: block unsupported architecture from installation
1 parent aedb8f3 commit 7060eb4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

module/customize.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
# Conflict with APatch
12
if [ "$APATCH" ]; then
23
abort "! APatch is unsupported"
34
fi
45

6+
# We only support arm64
7+
if [ "$ARCH" != "arm64" ]; then
8+
abort "! Only arm64 is supported"
9+
fi
10+
511
set_perm_recursive "$MODPATH/bin" 0 2000 0755 0755
612

713
mkdir -p /data/adb/kp-next

0 commit comments

Comments
 (0)