From bd6aa4f96e55bbb570f2791ab0ee4810297eb957 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 22 Oct 2024 16:42:12 +0600 Subject: [PATCH] Removed pkexec bash from commands --- source/ubinstall-gtk.h | 6 +++--- ubinstall-gtk.glade | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/source/ubinstall-gtk.h b/source/ubinstall-gtk.h index 6deb980..480eb5a 100755 --- a/source/ubinstall-gtk.h +++ b/source/ubinstall-gtk.h @@ -119,10 +119,10 @@ NULL #define part_type_parameter "AUTOINSTALL[part_fs_type]" #define part_type_parameter_command "ubconfig --source global get [autoinstall] AUTOINSTALL[part_fs_type]" -#define save_config_command(parameters) yon_char_unite("pkexec bash -c 'ubconfig --target system set [autoinstall] AUTOINSTALL[log]=yes ",parameters, "; nice ubinstall2 --debug autoinstall'", NULL) +#define save_config_command(parameters) yon_char_unite("ubconfig --target system set [autoinstall] AUTOINSTALL[log]=yes ",parameters, "; nice ubinstall2 --debug autoinstall", NULL) -#define set_user_config_command(parameters) yon_char_unite("pkexec bash -c 'ubconfig --target system set [autoinstall] ",parameters,";nice ubinstall2 autoconfig'",NULL) -#define save_additional_config_command(parameters) yon_char_unite("pkexec bash -c 'ubconfig --target system set [autoinstall] ",parameters,"'",NULL) +#define set_user_config_command(parameters) yon_char_unite("ubconfig --target system set [autoinstall] ",parameters,";nice ubinstall2 autoconfig",NULL) +#define save_additional_config_command(parameters) yon_char_unite("ubconfig --target system set [autoinstall] ",parameters,NULL) #define open_gparted_command "gparted" diff --git a/ubinstall-gtk.glade b/ubinstall-gtk.glade index af1eee2..5d31b34 100644 --- a/ubinstall-gtk.glade +++ b/ubinstall-gtk.glade @@ -3090,14 +3090,14 @@ or continue working in the UBLinux Live environment. - False + True True 2 - False + True True 0 @@ -3497,14 +3497,14 @@ installed. - False + True True 1 - False + True True 0 @@ -3601,14 +3601,14 @@ installed. - False + True True 1 - False + True True 1 @@ -3683,7 +3683,7 @@ installed. - False + True True 1 @@ -4097,14 +4097,14 @@ installed. - False + True True 1 - False + True True 0 @@ -4201,21 +4201,21 @@ installed. - False + True True 1 - False + True True 1 - False + True True 1