From: Chmouel Boudjnah <chmouel@mandrakesoft.com>
To: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
Cc: Oliver Kiddle <opk@u.genie.co.uk>, zsh-workers@sunsite.dk
Subject: Re: PATCH: new and updated completions
Date: 06 Aug 2001 19:47:51 +0200 [thread overview]
Message-ID: <m38zgxulko.fsf@giants.mandrakesoft.com> (raw)
In-Reply-To: <3B6ED75A.9000809@mow.siemens.ru> (Borsenkow Andrej's message of "Mon, 06 Aug 2001 21:43:54 +0400")
Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru> writes:
> Chmouel Boudjnah wrote:
>
> > Oliver Kiddle <opk@u.genie.co.uk> writes:
> >
> >>anyone can think of a good way to detect RedHat/Mandrake, please let me
> >>
> > /etc/{mandrake,redhat}-release
> >
>
> Meaning
yep better to do a :
if [[ -e /etc/mandrake-release ]]; then
we are on Mandrake
elif [[ -e /etc/redhat-release ]]; then
we are on RedHat
fi
mandrake one before redhat.
> if [[ -e /etc/mandrake-release ]]; then
> we are on Mandrake
> else ...
>
> {pts/1}% ll /etc/*-release
> -rw-r--r-- 1 root root 45 ??? 19 22:30
> /etc/mandrake-release
> lrwxrwxrwx 1 root root 16 ??? 23 00:32
> /etc/redhat-release -> mandrake-release
next prev parent reply other threads:[~2001-08-06 17:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-06 14:28 Oliver Kiddle
2001-08-06 14:30 ` Chmouel Boudjnah
2001-08-06 17:43 ` Borsenkow Andrej
2001-08-06 17:47 ` Chmouel Boudjnah [this message]
2001-08-08 11:37 ` Oliver Kiddle
2001-08-08 12:06 ` Chmouel Boudjnah
2001-08-08 15:52 ` Bart Schaefer
2001-08-08 17:17 ` Oliver Kiddle
2001-08-09 15:58 ` Bart Schaefer
2001-08-11 14:20 ` Peter Stephenson
2001-08-07 10:36 ` Sven Wischnowsky
2001-08-07 11:04 ` Oliver Kiddle
2001-08-08 7:19 ` Sven Wischnowsky
2001-08-08 17:23 ` Oliver Kiddle
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=m38zgxulko.fsf@giants.mandrakesoft.com \
--to=chmouel@mandrakesoft.com \
--cc=Andrej.Borsenkow@mow.siemens.ru \
--cc=opk@u.genie.co.uk \
--cc=zsh-workers@sunsite.dk \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).