Fix: Installer - prevDir path

This commit is contained in:
alstjr7375 2021-08-02 15:58:14 +09:00
parent 932612a4da
commit 12bddb707d

View file

@ -489,7 +489,7 @@ CHROMEINFOFILE="LEPTON"
write_lepton_info() { write_lepton_info() {
# Init info # Init info
local output="" local output=""
local prevDir="$firefoxProfileDirPaths[0]" local prevDir="${firefoxProfileDirPaths[0]}"
local latestPath="${firefoxProfilePaths[${#firefoxProfilePaths[@]} - 1]}" local latestPath="${firefoxProfilePaths[${#firefoxProfilePaths[@]} - 1]}"
for profilePath in "${firefoxProfilePaths[@]}"; do for profilePath in "${firefoxProfilePaths[@]}"; do
local LEPTONINFOPATH="${profilePath}/chrome/${CHROMEINFOFILE}" local LEPTONINFOPATH="${profilePath}/chrome/${CHROMEINFOFILE}"