mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 20:30:36 -08:00
Fix: Installer - Update section to array
This commit is contained in:
parent
fd65de6855
commit
c688cdb90b
1 changed files with 2 additions and 2 deletions
|
|
@ -687,7 +687,7 @@ update_profile() {
|
|||
check_git
|
||||
for profileDir in "${firefoxProfileDirPaths[@]}"; do
|
||||
local LEPTONINFOPATH="${profileDir}/${LEPTONINFOFILE}"
|
||||
local sections=$(get_ini_section "${LEPTONINFOPATH}")
|
||||
local sections=($(get_ini_section "${LEPTONINFOPATH}"))
|
||||
if [ ! -z "${sections}" ]; then
|
||||
for section in "${sections[@]}"; do
|
||||
local Type=$( get_ini_value "${LEPTONINFOPATH}" "Type" "${section}")
|
||||
|
|
@ -715,7 +715,7 @@ update_profile() {
|
|||
git --git-dir "${LEPTONGITPATH}" checkout "tags/${Ver}"
|
||||
fi
|
||||
else
|
||||
lepton_error_message "Unable to find update type, ${Type}"
|
||||
lepton_error_message "Unable to find update type, ${Type} at ${section}"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue