fix rebuild of modules changed

This commit is contained in:
Ing 2023-06-23 02:00:11 +08:00
parent a76b204846
commit 4593c85119

View File

@ -374,6 +374,7 @@ function moduleMenu() {
USERMODULES["${ID}"]="" USERMODULES["${ID}"]=""
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}" writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
done done
DIRTY=1
;; ;;
a) dialog --backtitle "`backtitle`" --title "$(TEXT "Modules")" \ a) dialog --backtitle "`backtitle`" --title "$(TEXT "Modules")" \
--infobox "$(TEXT "Selecting all modules")" 0 0 --infobox "$(TEXT "Selecting all modules")" 0 0
@ -384,6 +385,7 @@ function moduleMenu() {
USERMODULES["${ID}"]="" USERMODULES["${ID}"]=""
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}" writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
done <<<${ALLMODULES} done <<<${ALLMODULES}
DIRTY=1
;; ;;
d) dialog --backtitle "`backtitle`" --title "$(TEXT "Modules")" \ d) dialog --backtitle "`backtitle`" --title "$(TEXT "Modules")" \
@ -391,6 +393,7 @@ function moduleMenu() {
writeConfigKey "modules" "{}" "${USER_CONFIG_FILE}" writeConfigKey "modules" "{}" "${USER_CONFIG_FILE}"
unset USERMODULES unset USERMODULES
declare -A USERMODULES declare -A USERMODULES
DIRTY=1
;; ;;
c) c)
@ -414,6 +417,7 @@ function moduleMenu() {
USERMODULES["${ID}"]="" USERMODULES["${ID}"]=""
writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}" writeConfigKey "modules.${ID}" "" "${USER_CONFIG_FILE}"
done done
DIRTY=1
;; ;;
o) o)
@ -1160,6 +1164,7 @@ function advancedMenu() {
dialog --backtitle "`backtitle`" --title "$(TEXT "Custom dts file")" --aspect 18 \ dialog --backtitle "`backtitle`" --title "$(TEXT "Custom dts file")" --aspect 18 \
--msgbox "$(TEXT "A valid dts file, Automatically import at compile time.")" 0 0 --msgbox "$(TEXT "A valid dts file, Automatically import at compile time.")" 0 0
fi fi
DIRTY=1
;; ;;
b) b)
if ! tty | grep -q "/dev/pts"; then if ! tty | grep -q "/dev/pts"; then