diff --git a/scripts/Common/Config/Chromium/install-extension.sh b/scripts/Common/Config/Chromium/install-extension.sh index c61e1ccb..a0a46e8d 100755 --- a/scripts/Common/Config/Chromium/install-extension.sh +++ b/scripts/Common/Config/Chromium/install-extension.sh @@ -32,7 +32,7 @@ else sudo -u "$1" brave-browser --pack-extension="$UNPACKED_EXTENSION" --pack-extension-key="$keyFile"; # Install extension and preinstall it - cp "$extensionFile" "$EXTENSION_DIR"; + cp "$extensionFile" "$destination"; chmod -R a+rx "$EXTENSION_DIR"; chmod -R u+w "$EXTENSION_DIR"; mkdir -p "$EXTENSION_POLICY_DIR";