install.sh:fix firefox dir

This commit is contained in:
Gerome Matilla 2020-07-05 14:10:20 +08:00
parent 0e8818a039
commit 2e25f384b5

View File

@ -45,7 +45,7 @@ EOF
} }
FF_USER_DIRECTORY="$(find "${HOME}/.mozilla/firefox/" -maxdepth 1 -type d -regextype egrep -regex '.*[a-zA-Z0-9]+.default-release')" FF_USER_DIRECTORY="$(find "${HOME}/.mozilla/firefox/" -maxdepth 1 -type d -regextype egrep -regex '.*[a-zA-Z0-9]+.default-(release|default)')"
if [[ -n $FF_USER_DIRECTORY ]]; if [[ -n $FF_USER_DIRECTORY ]];
then then