From ac405403f12baf6aeb2dda5d807ac7d9e9e8615a Mon Sep 17 00:00:00 2001 From: AleksArt <69528329+AleksArt000@users.noreply.github.com> Date: Tue, 31 Oct 2023 17:38:59 +0100 Subject: [PATCH 1/3] Update init.c --- src/init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/init.c b/src/init.c index 97be6c2..c4ec27a 100755 --- a/src/init.c +++ b/src/init.c @@ -10,10 +10,8 @@ // Function to initialize the Soviet Package Manager void init() { - printf("Getting SOVIET_DEBUG"); + msg(INFO, "initializing"); char* debug_env = getenv("SOVIET_DEBUG"); - printf("Got SOVIET_DEBUG"); - // Set the debugging level based on the environment variable dbg(3, "DEBUG: %s", debug_env); DEBUG += debug_env ? atoi(debug_env) : 0; From 4b84c61342660252500ed1a3cddb300d77b48d98 Mon Sep 17 00:00:00 2001 From: AleksArt Date: Tue, 31 Oct 2023 15:33:01 -0300 Subject: [PATCH 2/3] set verbose to false by default --- src/globals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globals.c b/src/globals.c index e1e1952..a60fe9e 100644 --- a/src/globals.c +++ b/src/globals.c @@ -16,7 +16,7 @@ bool TESTING = false; bool OVERWRITE = true; // Flag for quiet mode (no verbose output) -bool QUIET = false; +bool QUIET = true; // Database handles for installed and all packages sqlite3* INSTALLED_DB = NULL; From 0b961d2c147f9a406c949432a7f7f7c48261c117 Mon Sep 17 00:00:00 2001 From: AleksArt Date: Tue, 31 Oct 2023 16:08:29 -0300 Subject: [PATCH 3/3] made overwrite false by default --- src/globals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globals.c b/src/globals.c index a60fe9e..bc9da11 100644 --- a/src/globals.c +++ b/src/globals.c @@ -13,7 +13,7 @@ bool TESTING = false; // Flag for overwriting files -bool OVERWRITE = true; +bool OVERWRITE = false; // Flag for quiet mode (no verbose output) bool QUIET = true;