summaryrefslogtreecommitdiff
path: root/backend/pkgtools.cpp
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-06-17 12:46:59 +0200
committerEugen Wissner <belka@caraus.de>2026-06-17 12:46:59 +0200
commit93cacaa6fe0b18609bbd9be51702ae2fed1ad663 (patch)
tree9eb0b47d678c736144cafe34f435e9154e0aad5e /backend/pkgtools.cpp
parent1d8a03a7b9121bb2c61e8ec315920c452516afcf (diff)
downloadkatja-93cacaa6fe0b18609bbd9be51702ae2fed1ad663.tar.gz
Remove glib dependencyHEADmaster
Diffstat (limited to 'backend/pkgtools.cpp')
-rw-r--r--backend/pkgtools.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/pkgtools.cpp b/backend/pkgtools.cpp
index e3f7355..45b159a 100644
--- a/backend/pkgtools.cpp
+++ b/backend/pkgtools.cpp
@@ -9,7 +9,6 @@ module;
#include <curl/curl.h>
#include <sqlite3.h>
#include <cstdint>
-#include <glib-object.h>
#include <string>
#include <regex>
#include <forward_list>
@@ -153,7 +152,7 @@ public:
/ reinterpret_cast<const char*>(sqlite3_column_text(statement, 0));
std::string cmd_line = "/sbin/upgradepkg --install-new " + pkg_filename.native();
- g_spawn_command_line_sync(cmd_line.c_str(), nullptr, nullptr, nullptr, nullptr);
+ system(cmd_line.c_str());
}
sqlite3_finalize(statement);
}