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 { hostPlatform } from '../../utils/hostPlatform';
|
||||||
import { buildPlaywrightCLICommand } from '.';
|
import { buildPlaywrightCLICommand } from '.';
|
||||||
import { deps } from './nativeDeps';
|
import { deps } from './nativeDeps';
|
||||||
import { getUbuntuVersion } from '../../utils/ubuntuVersion';
|
|
||||||
import { getPlaywrightVersion } from '../../common/userAgent';
|
import { getPlaywrightVersion } from '../../common/userAgent';
|
||||||
|
|
||||||
const BIN_DIRECTORY = path.join(__dirname, '..', '..', '..', 'bin');
|
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) {
|
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[] = [];
|
const libraries: string[] = [];
|
||||||
for (const target of targets) {
|
for (const target of targets) {
|
||||||
const info = deps[hostPlatform];
|
const info = deps[hostPlatform];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue