File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ check_dependencies() {
330
330
if command -v pkg-config > /dev/null 2>&1 ; then
331
331
# Check for WebKit2GTK with fallback to older version
332
332
if ! pkg-config --exists webkit2gtk-4.1 2> /dev/null; then
333
- if ! pkg-config --exists webkit2gtk-3. 0 2> /dev/null; then
333
+ if ! pkg-config --exists webkit2gtk-4.1- 0 2> /dev/null; then
334
334
missing_deps+=(" webkit2gtk" )
335
335
fi
336
336
fi
@@ -387,7 +387,7 @@ install_packages() {
387
387
install_cmd=" sudo apt install -y"
388
388
389
389
# Map library names to Ubuntu/Debian package names
390
- deps=(" ${deps[@]/ webkit2gtk/ libwebkit2gtk-4.1} " )
390
+ deps=(" ${deps[@]/ webkit2gtk/ libwebkit2gtk-4.1-0 } " )
391
391
deps=(" ${deps[@]/ gtk3/ libgtk-3-dev} " )
392
392
deps=(" ${deps[@]/ pkg-config/ pkg-config} " )
393
393
@@ -396,7 +396,7 @@ install_packages() {
396
396
install_cmd=" sudo dnf install -y"
397
397
398
398
# Map library names to Fedora package names
399
- deps=(" ${deps[@]/ webkit2gtk/ webkit2gtk4.1} " )
399
+ deps=(" ${deps[@]/ webkit2gtk/ webkit2gtk4.1-0 } " )
400
400
deps=(" ${deps[@]/ gtk3/ gtk3-devel} " )
401
401
deps=(" ${deps[@]/ pkg-config/ pkgconf-devel} " )
402
402
You can’t perform that action at this time.
0 commit comments