diff --git a/source/ubl-settings-kernel.h b/source/ubl-settings-kernel.h index bc991bc..d39f358 100644 --- a/source/ubl-settings-kernel.h +++ b/source/ubl-settings-kernel.h @@ -46,7 +46,7 @@ #define get_kernel_changelog_command(target) yon_char_unite("find /usr/lib/modules/ -maxdepth 2 -type f -iname \"pkgbase\" -exec grep -il \"",target,"\" {} + | xargs dirname | xargs -I {} cat \"{}/changelog\"", NULL) #define get_package_info_command(target) yon_char_append("pacman -Si ",target) #define get_package_is_installed_command(target) yon_char_append("pacman -Qq ",target) -#define get_package_is_updated_command(target) yon_char_append("pacman -Qu ",target) +#define get_package_is_updated_command(target) yon_char_append("pacman -Qqu ",target) #define unload_command(target) yon_char_append("ubmunload ",target) #define pacman_update_command "pacman -Sy" diff --git a/source/ubl-strings.h b/source/ubl-strings.h index 2bd4d24..4c4ec3e 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -62,7 +62,7 @@ #define PACKAGE_REMOVED_BUT_NOT_DISABLED_LABEL _("The package with the module has been removed, but the module is not disabled from the system, as it is used by other system programs. After rebooting, the module will be disabled and removed.") #define KERNEL_MODULE_INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install kernel module")," ",target,"?",NULL) -#define KERNEL_PACKAGE_INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install kernel package")," ",target,"?",NULL) +#define KERNEL_PACKAGE_INSTALL_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to install kernel package")," ",target,"?\n",KERNEL_PACKAGE_INSTALL_ATTENTION_LABEL,NULL) #define KERNEL_MODULE_UPDATE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to update kernel module")," ",target,"?",NULL) #define KERNEL_PACKAGE_UPDATE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to update kernel package")," ",target,"?",NULL) #define KERNEL_MODULE_REMOVE_CONFIRMATION_LABEL(target) yon_char_unite(_("Are you sure want to remove kernel module")," ",target,"?",NULL) @@ -91,4 +91,5 @@ #define UPDATE_ADDITION_MODULE_TITLE_LABEL _("Update addition module") #define UPDATE_ADDITION_PACKAGE_TITLE_LABEL _("Update addition package") #define BUILD_SUCCESS_STATUS_LABEL _("Building has succeeded") -#define BUILD_FAILED_STATUS_LABEL _("Building has failed") \ No newline at end of file +#define BUILD_FAILED_STATUS_LABEL _("Building has failed") +#define KERNEL_PACKAGE_INSTALL_ATTENTION_LABEL _("Attention! If you work in sandbox mode, you must install the package with the module!") \ No newline at end of file diff --git a/ubl-settings-kernel.pot b/ubl-settings-kernel.pot index b4c3280..6480b60 100644 --- a/ubl-settings-kernel.pot +++ b/ubl-settings-kernel.pot @@ -337,3 +337,9 @@ msgstr "" #: source/ubl-strings.h:94 msgid "Building has failed" msgstr "" + +#: source/ubl-strings.h:95 +msgid "" +"Attention! If you work in sandbox mode, you must install the package with " +"the module!" +msgstr "" diff --git a/ubl-settings-kernel_ru.po b/ubl-settings-kernel_ru.po index 97d3e06..098a5d6 100644 --- a/ubl-settings-kernel_ru.po +++ b/ubl-settings-kernel_ru.po @@ -348,3 +348,9 @@ msgstr "Сборка прошла успешно" #: source/ubl-strings.h:94 msgid "Building has failed" msgstr "Ошибка сборки ядра" + +#: source/ubl-strings.h:95 +msgid "" +"Attention! If you work in sandbox mode, you must install the package with " +"the module!" +msgstr "Внимание! Если вы работаете в режиме песочницы, необходимо установить пакет с модулем!"