Place built extension properly

This commit is contained in:
Manuel Thalmann 2023-04-03 00:26:47 +02:00
parent 5a531643ab
commit 8d0d6c67a0

View file

@ -32,7 +32,7 @@ else
sudo -u "$1" brave-browser --pack-extension="$UNPACKED_EXTENSION" --pack-extension-key="$keyFile"; sudo -u "$1" brave-browser --pack-extension="$UNPACKED_EXTENSION" --pack-extension-key="$keyFile";
# Install extension and preinstall it # Install extension and preinstall it
cp "$extensionFile" "$EXTENSION_DIR"; cp "$extensionFile" "$destination";
chmod -R a+rx "$EXTENSION_DIR"; chmod -R a+rx "$EXTENSION_DIR";
chmod -R u+w "$EXTENSION_DIR"; chmod -R u+w "$EXTENSION_DIR";
mkdir -p "$EXTENSION_POLICY_DIR"; mkdir -p "$EXTENSION_POLICY_DIR";