Skip to content

Commit d02d75b

Browse files
committed
fix: fixing some packages for linux install script WIP [build.all]
1 parent e7b7cbb commit d02d75b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ check_dependencies() {
330330
if command -v pkg-config >/dev/null 2>&1; then
331331
# Check for WebKit2GTK with fallback to older version
332332
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
334334
missing_deps+=("webkit2gtk")
335335
fi
336336
fi
@@ -387,7 +387,7 @@ install_packages() {
387387
install_cmd="sudo apt install -y"
388388

389389
# Map library names to Ubuntu/Debian package names
390-
deps=("${deps[@]/webkit2gtk/libwebkit2gtk-4.1}")
390+
deps=("${deps[@]/webkit2gtk/libwebkit2gtk-4.1-0}")
391391
deps=("${deps[@]/gtk3/libgtk-3-dev}")
392392
deps=("${deps[@]/pkg-config/pkg-config}")
393393

@@ -396,7 +396,7 @@ install_packages() {
396396
install_cmd="sudo dnf install -y"
397397

398398
# Map library names to Fedora package names
399-
deps=("${deps[@]/webkit2gtk/webkit2gtk4.1}")
399+
deps=("${deps[@]/webkit2gtk/webkit2gtk4.1-0}")
400400
deps=("${deps[@]/gtk3/gtk3-devel}")
401401
deps=("${deps[@]/pkg-config/pkgconf-devel}")
402402

0 commit comments

Comments
 (0)