mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
Reason: turns out Debian Buster requires just one source list to install `ttf-ubuntu-font-family` font. All other dependencies are satisfied. Fixes #13530
This commit is contained in:
parent
9b8aceaa61
commit
269716d7d7
@ -23,7 +23,6 @@ import { spawnAsync } from '../../utils/spawnAsync';
|
||||
import { hostPlatform } from '../../utils/hostPlatform';
|
||||
import { buildPlaywrightCLICommand } from '.';
|
||||
import { deps } from './nativeDeps';
|
||||
import { getUbuntuVersion } from '../../utils/ubuntuVersion';
|
||||
import { getPlaywrightVersion } from '../../common/userAgent';
|
||||
|
||||
const BIN_DIRECTORY = path.join(__dirname, '..', '..', '..', 'bin');
|
||||
@ -75,8 +74,6 @@ export async function installDependenciesWindows(targets: Set<DependencyGroup>,
|
||||
}
|
||||
|
||||
export async function installDependenciesLinux(targets: Set<DependencyGroup>, dryRun: boolean) {
|
||||
if (await getUbuntuVersion() === '')
|
||||
throw new Error(`Unsupported Linux distribution, only Ubuntu is supported!`);
|
||||
const libraries: string[] = [];
|
||||
for (const target of targets) {
|
||||
const info = deps[hostPlatform];
|
||||
|
Loading…
Reference in New Issue
Block a user