yet another try to make it work

This commit is contained in:
Jonas Forsberg 2020-08-02 18:49:55 +02:00
parent 544216946b
commit 6540462723
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -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"