yet another try to make it work
This commit is contained in:
parent
544216946b
commit
6540462723
@ -9,7 +9,8 @@ readarray -t profiles <<<"$(sed -n 's/^Path=\(.*\)$/\1/p' $HOME/.mozilla/firefox
|
||||
|
||||
|
||||
curl -sLo "$tmpfile" "$url"
|
||||
for p in "$profiles";do
|
||||
cp "$tmpfile" "$HOME/.mozilla/firefox/$p/$filename"
|
||||
for p in $(sed -n 's/^Path=\(.*\)$/\1/p' $HOME/.mozilla/firefox/profiles.ini);do
|
||||
echo "Installing in profile $p"
|
||||
cp "$tmpfile" "$HOME/.mozilla/firefox/$p/extensions/$filename"
|
||||
done
|
||||
rm "$tmpfile"
|
||||
|
Loading…
Reference in New Issue
Block a user