Skip to content
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

Open
arun54321 opened this issue Sep 20, 2020 · 3 comments
Open

Cannot install using script. #40

arun54321 opened this issue Sep 20, 2020 · 3 comments

Comments

@arun54321
Copy link

I already have one user profile but the script doesn't work.

Screenshot_20200920_074519

@eromatiya
Copy link
Owner

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.

@Lunarequest
Copy link

I can reproduce this issue on arch linux with the regular firefox form the repos

@Lunarequest
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants