-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install using script. #40
Comments
Hmmm it looks like your profile has suffix which the script doesn't support yet. So just manually install it right now. Will fix it later if I have a time. Patches welcome, of course. |
I can reproduce this issue on arch linux with the regular firefox form the repos |
I came up with this which reliably work in finding the firefox dir, it can be improved greatly function check_profile() {
OS=$(cat /etc/os-release |grep PRETTY_NAME=)
echo $OS
if [[ $OS==*"Arch Linux" ]];
then
if [[ "${1}" == "default-release" ]];
then
FF_USER_DIRECTORY="$(find "${HOME}/.mozilla/firefox/" -maxdepth 1 -type d -regextype egrep -regex '.*[a-zA-Z0-9]+.'|grep ${1})"
else
FF_USER_DIRECTORY="$(find "${HOME}/.mozilla/firefox/" -maxdepth 1 -type d -regextype egrep -regex '.*[a-zA-Z0-9]+.'${1})"
fi
else
FF_USER_DIRECTORY="$(find "${HOME}/.mozilla/firefox/" -maxdepth 1 -type d -regextype egrep -regex '.*[a-zA-Z0-9]+.'${1})"
fi
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I already have one user profile but the script doesn't work.
The text was updated successfully, but these errors were encountered: