firefox-privacy: remove usage of install

This commit is contained in:
Dylan Araps 2021-07-01 16:30:34 +00:00
parent e4433ed706
commit c924bdda43
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -1,7 +1,9 @@
#!/bin/sh -e
install -Dm644 vendor-*.js \
"$1/usr/lib/firefox/browser/defaults/preferences/vendor.js"
mkdir -p \
"$1/usr/lib/firefox/browser/defaults/preferences" \
"$1/usr/lib/firefox/distribution"
cp -f vendor-*.js "$1/usr/lib/firefox/browser/defaults/preferences"
cp -f policies-*.json "$1/usr/lib/firefox/distribution"
install -Dm644 policies-*.json \
"$1/usr/lib/firefox/distribution/policies.json"