clean up path
This commit is contained in:
parent
357d3401f8
commit
8382e25c7b
@ -8,6 +8,7 @@ tmpfile=$(mktemp /tmp/install_firefox_addon.XXXXXX)
|
||||
|
||||
curl -sLo "$tmpfile" "$url"
|
||||
for p in "$(sed -n 's/^Path=\(.*\)$/\1/p' $HOME/.mozilla/firefox/profiles.ini)";do
|
||||
p=${p//[$'\t\r\n']}
|
||||
cp "$tmpfile" "$HOME/.mozilla/firefox/$p/$filename"
|
||||
done
|
||||
rm "$tmpfile"
|
||||
|
Loading…
Reference in New Issue
Block a user