From 0957481eca1bd10377113856b4156d7258559577 Mon Sep 17 00:00:00 2001 From: leleliu008 Date: Wed, 2 Oct 2024 20:16:27 +0800 Subject: [PATCH] optimized --- ndk-pkg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ndk-pkg b/ndk-pkg index 2bc55a1..43e3be1 100755 --- a/ndk-pkg +++ b/ndk-pkg @@ -8623,6 +8623,10 @@ __install_gcc_via_syspm() { if [ -f /etc/os-release ] ; then . /etc/os-release + if [ "$ID" = 'opensuse-leap' ] ; then + ID='opensuse_leap' + fi + __install_gcc_via_syspm_$ID fi }