From: Mikhail Zabaluev <mhz@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Menu policy 2
Date: Thu, 25 Nov 2004 13:54:21 +0300
Message-ID: <1101380061.3346.12.camel@localhost.localdomain> (raw)
In-Reply-To: <200411251248.17810.zerg@altlinux.org>
В Чтв, 25/11/2004 в 12:48 +0300, Sergey V Turchin пишет:
> > > > > А зачем для булевского значения иметь две переменных?
> [...]
> > Зачем в ~/.menu/ иметь два взаимоисключающих флага?
> Их четыре. В /etc/menu и ~/.menu - это разные флаги
> Взаимоисключающих среди них нет.
> Каждый исключает все менееприоритетные.
> /etc/menu/enable_customization самый низкоприоритетный,
> поэтому он никого не исключает.
> Т.е. для вычисления достаточно перебрать файлы в порядке возрастания
> приоритета. Вот пример вычисления "в лоб".
> #!/bin/sh
> is_customized="yes"
> [ -e /etc/menu/disable_customization ] && is_customized="no"
> [ -e ~/.menu/enable_customization ] && is_customized="yes"
> [ -e ~/.menu/disable_customization ] && is_customized="no"
Запомните это, дети, потому что понять это невозможно :)
next prev parent reply other threads:[~2004-11-25 10:54 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-22 17:44 Sergey V Turchin
2004-11-22 18:42 ` Dmitry V. Levin
2004-11-24 10:16 ` Sergey V Turchin
2004-11-24 11:22 ` Sergey V Turchin
2004-11-24 15:03 ` Alexey Morozov
2004-11-24 15:19 ` Sergey V Turchin
2004-11-24 15:34 ` Sergey V Turchin
2004-11-24 17:30 ` Alexey Morozov
2004-11-25 9:48 ` Sergey V Turchin
2004-11-25 10:53 ` Alexey Morozov
2004-11-25 23:04 ` Mikhail Zabaluev
2004-11-26 8:24 ` Sergey V Turchin
2004-11-26 20:29 ` Mikhail Zabaluev
2004-11-29 11:53 ` Sergey V Turchin
2004-11-29 11:57 ` Mikhail Zabaluev
2004-11-29 12:11 ` Sergey V Turchin
2004-11-26 10:14 ` Dmitry V. Levin
2004-11-26 10:42 ` Yuri N. Sedunov
2004-11-26 11:29 ` Sergey V Turchin
2004-11-26 11:36 ` Yuri N. Sedunov
2004-11-26 10:56 ` Sergey V Turchin
2004-11-26 20:34 ` Mikhail Zabaluev
2004-11-29 11:53 ` Sergey V Turchin
2004-11-29 12:02 ` Mikhail Zabaluev
2004-11-29 12:16 ` Sergey V Turchin
2004-11-26 8:20 ` Sergey V Turchin
2004-11-26 9:29 ` Sergey V Turchin
2004-11-25 10:54 ` Mikhail Zabaluev [this message]
2004-11-25 11:38 ` Sergey V Turchin
2004-11-25 12:15 ` Mikhail Zabaluev
2004-11-26 9:55 ` [devel] [JT] " Michael Shigorin
2004-11-26 10:09 ` Sergey V Turchin
2004-11-26 20:26 ` [devel] " Mikhail Zabaluev
2004-11-29 11:44 ` Sergey V Turchin
2004-11-25 11:50 ` [devel] " Sergey V Turchin
2004-11-25 12:13 ` Mikhail Zabaluev
2004-11-25 14:02 ` Sergey V Turchin
2004-11-25 11:26 ` Alexey Morozov
2004-11-25 17:07 ` Sergey V Turchin
2004-11-25 17:40 ` Dmitry V. Levin
2004-11-25 18:13 ` Sergey V Turchin
2004-11-24 20:51 ` Mikhail Zabaluev
2004-11-25 6:42 ` Alexey I. Froloff
2004-11-25 9:26 ` Sergey V Turchin
2004-11-22 19:35 ` Вячеслав Диконов
2004-11-24 10:21 ` Sergey V Turchin
2004-11-30 19:58 ` Sergey V Turchin
2004-11-24 22:04 ` Mikhail Zabaluev
2004-11-24 22:32 ` Yuri N. Sedunov
2004-11-24 22:42 ` Mikhail Zabaluev
2004-11-24 22:48 ` Yuri N. Sedunov
2004-11-25 7:46 ` Andrei Bulava
2004-11-25 8:33 ` Yuri N. Sedunov
2004-11-26 9:41 ` [devel] " Michael Shigorin
2004-11-26 10:00 ` Sergey V Turchin
2004-11-25 9:55 ` [devel] " Sergey V Turchin
2004-11-25 10:01 ` Sergey V Turchin
2004-11-25 10:52 ` Mikhail Zabaluev
2004-11-25 11:35 ` Sergey V Turchin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1101380061.3346.12.camel@localhost.localdomain \
--to=mhz@altlinux.org \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git