From ee55e9d4e4f9a49482744070e0be6d3cf582e687 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Tue, 14 Apr 2026 16:39:29 +0600 Subject: [PATCH] Changed ubinstall commands --- source/ubinstall-gtk.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/ubinstall-gtk.h b/source/ubinstall-gtk.h index 25b6c83..c474948 100755 --- a/source/ubinstall-gtk.h +++ b/source/ubinstall-gtk.h @@ -156,7 +156,7 @@ layout && /description:/ {\ #define yon_check_database_command "pacman -Syy >/dev/null" #define internet_tomezone_check_command "curl -s ipinfo.io/timezone" -#define ubinstall_dry_run_command "ubinstall --dry-run" +#define ubinstall_dry_run_command "/usr/bin/bash -c \"ubinstall --dry-run" #define os_name_get_command "sed -En 's/^PRETTY_NAME=[\"]*([^\"]+)[\"]*/\\1/p' /etc/os-release" #define get_keyboard_layout_change_command "grep \"grp:\" /usr/share/X11/xkb/rules/base.lst | awk '{$1=$1; sub(/^!.*$/, \"\"); if ($1 ~ /^grp:/) {opt=$1; $1=\"\"; print opt \"|\" substr($0,2)}}'" @@ -295,7 +295,7 @@ layout && /description:/ {\ #define get_localisation_command "ubconfig -ea --source global get [autoinstall] AUTOINSTALL[installer_locale] -- get [autoinstall] AUTOINSTALL['ubconfig set [locale] LANG'] -- get [locale] LANG" -#define save_config_command yon_char_unite("nice ubinstall autoinstall",main_config.debug_mode?" --debug":""," --noautoconfig --noinstall_extra", NULL) +#define save_config_command yon_char_unite("/usr/bin/bash -c \"nice ubinstall autoinstall",main_config.debug_mode?" --debug":""," --noautoconfig --noinstall_extra\"", NULL) #define quick_install_command(path) yon_char_unite("nice ubinstall autoinstall",main_config.debug_mode?" --debug":""," --config='",path,"' --noautoconfig --noinstall_extra", NULL) #define set_user_config_command yon_char_unite("nice ubinstall autoconfig",main_config.debug_mode?" --debug":""," install_extra", NULL) @@ -307,7 +307,7 @@ layout && /description:/ {\ #define PASSWORD_DEFAULT "ublinux" -#define start_fast_install_command "ubinstall --autoinstall" +#define start_fast_install_command "/usr/bin/bash -c \"ubinstall --autoinstall\"" #define progress_path "/var/log/ubinstall_progress.log" @@ -317,9 +317,9 @@ layout && /description:/ {\ #define full_log_path "/var/log/ubinstall.log" -#define get_devices_command "ubinstall show --lsdevices" -#define get_parts_for_device_command "ubinstall show --lsparts" -#define get_modules_command "ubinstall show --lsmodules" +#define get_devices_command "/usr/bin/bash -c \"ubinstall show --lsdevices\"" +#define get_parts_for_device_command "/usr/bin/bash -c \"ubinstall show --lsparts\"" +#define get_modules_command "/usr/bin/bash -c \"ubinstall show --lsmodules\"" #define ubconfig_file_create_pkexec(target) yon_char_unite("pkexec ubconfig --target \"",target,"\" create",NULL) #define config_get_command(target) yon_char_unite("ubconfig -ea --conarg --source ", target, " get [autoinstall] AUTOINSTALL[*] ADDADM -- get [locale] LANG", NULL)