Репозитории ALT
S: | 2.1.41-alt23 |
5.1: | 2.1.41-alt9 |
4.1: | 2.1.41-alt3.M41.1 |
4.0: | 2.1.35-alt5 |
3.0: | 2.1.25-alt3 |
+backports: | 2.1.29-alt4.0.M30 |
Группа :: Система/Основа
Пакет: menu
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: menu-2.1.27-alt-menumethod-arg-nopath-avail.patch
Скачать
Скачать
--- menu-2.1.27/update-menus/update-menus.cc~ 2006-03-23 18:21:27 +0300
+++ menu-2.1.27/update-menus/update-menus.cc 2006-03-23 18:23:59 +0300
@@ -1027,6 +1027,13 @@ void run_methods(vector<string> &menudat
{
if (!config.menumethod.empty())
{
+ if ( config.menumethod[0] != '/' ) {
+ if (is_root) {
+ config.menumethod = string(MENUMETHODS)+config.menumethod;
+ } else {
+ config.menumethod = string(MENUMETHODS)+config.menumethod;
+ }
+ }
if (executable(config.menumethod))
run_menumethod(config.menumethod, menudata);
else