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"
|
curl -sLo "$tmpfile" "$url"
|
||||||
for p in "$profiles";do
|
for p in $(sed -n 's/^Path=\(.*\)$/\1/p' $HOME/.mozilla/firefox/profiles.ini);do
|
||||||
cp "$tmpfile" "$HOME/.mozilla/firefox/$p/$filename"
|
echo "Installing in profile $p"
|
||||||
|
cp "$tmpfile" "$HOME/.mozilla/firefox/$p/extensions/$filename"
|
||||||
done
|
done
|
||||||
rm "$tmpfile"
|
rm "$tmpfile"
|
||||||
|
Loading…
Reference in New Issue
Block a user