mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 09:01:39 -05:00
Cheer up shellcheck
This commit is contained in:
parent
f8bf5d10e4
commit
394772d100
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
temp=$(mktemp -d)
|
||||
unzip -qq $1 -d $temp
|
||||
jq '.applications.gecko.id' $temp/manifest.json | tr -d '"'
|
||||
unzip -qq "$1" -d "$temp"
|
||||
jq '.applications.gecko.id' "$temp"/manifest.json | tr -d '"'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
installdir=${1:-/usr/lib/firefox/browser/extensions}
|
||||
xpi=web-ext-artifacts/$(ls -t web-ext-artifacts/ | head -n1)
|
||||
install -Dm644 $xpi $installdir/$(scripts/get_id_from_xpi.sh $xpi).xpi
|
||||
install -Dm644 "$xpi" "$installdir"/"$(scripts/get_id_from_xpi.sh "$xpi")".xpi
|
||||
|
|
Loading…
Add table
Reference in a new issue