diff --git a/class/core/system_api.py b/class/core/system_api.py index 80ad6ae9e..b174e31bd 100755 --- a/class/core/system_api.py +++ b/class/core/system_api.py @@ -319,7 +319,10 @@ class system_api: return 1 def getDiskInfo(self, get=None): - return self.getDiskInfo2() + info = self.getDiskInfo2() + if len(info) != 0: + return info + # 取磁盘分区信息 diskIo = psutil.disk_partitions() diskInfo = [] diff --git a/scripts/install/arch.sh b/scripts/install/arch.sh index 1b4d386da..2c0c80a65 100644 --- a/scripts/install/arch.sh +++ b/scripts/install/arch.sh @@ -37,6 +37,8 @@ echo y | pacman -Sy libtool echo y | pacman -Sy imagemagick echo y | pacman -Sy mariadb-clients echo y | pacman -Sy rpcsvc-proto +echo y | pacman -Sy lemon + # zypper install -y freetype freetype-devel # zypper install -y libjpeg-devel libpng-devel