2019-09-23 06:31:35 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
installdir=${1:-/usr/lib/firefox/browser/extensions}
|
|
|
|
xpi=web-ext-artifacts/$(ls -t web-ext-artifacts/ | head -n1)
|
2019-09-23 07:33:13 +01:00
|
|
|
install -Dm644 "$xpi" "$installdir"/"$(scripts/get_id_from_xpi.sh "$xpi")".xpi
|