From 71c9b70233fdd04d26fec179b3a8d800ca19f68d Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Wed, 28 Mar 2018 20:36:36 +0200 Subject: [PATCH] CommonInstaller: minor fix --- CommonInstaller | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonInstaller b/CommonInstaller index aeb2f3a..8cb64be 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -559,7 +559,7 @@ magisk_install_finish () { ;; esac - if [ ! -z ${CUSTOM_FONT} -a "${nanodroid_fonts}" -eq 1 ]; then + if [ "${nanodroid_fonts}" -eq 1 -a ! -z ${CUSTOM_FONT} ]; then ui_print " << Restore NanoDroid-Font (${CUSTOM_FONT})" if [ "${ROM_NO_XBIN}" -eq 1 ]; then ${MODPATH}/system/bin/nanodroid-font -s "${CUSTOM_FONT}"