ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Определение версии дистрибутива Linux
Date: Fri, 24 Feb 2006 00:19:36 +0300
Message-ID: <200602240019.37644.lav@altlinux.ru> (raw)

Озадачился тем, что необходимо определить
на каком именно дистрибутиве исполняется скрипт.
Известны ли какие-либо наработки в этой области?

Конечно, в поисках файлов
/etc/slackware-version
/etc/altlinux-release
/etc/debian_version
/etc/redhat-release
/etc/SuSE-release
/etc/turbolinux-release
/etc/mandrake-release
полажу, и содержимое посравниваю. Но может есть какие интересные 
мысли?
Вот что прочитал об этом в vmware-config.pl:
"if an FHS guy is listening, we really need a generic way to
do this"
:)

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


             reply	other threads:[~2006-02-23 21:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 21:19 Vitaly Lipatov [this message]
2006-02-24  8:39 ` Damir Shayhutdinov
2006-02-24  9:04   ` Andrei Bulava
2006-02-24 11:16   ` php-coder
2006-02-24 13:48     ` Денис Смирнов
2006-02-24 13:58       ` Damir Shayhutdinov
2006-02-24 14:09         ` Денис Смирнов
2006-02-24 14:40           ` Andrei Bulava
2006-02-24 18:58       ` Kirill A. Shutemov
2006-02-24 23:30         ` Денис Смирнов
2006-02-25  9:32           ` Kirill A. Shutemov
2006-02-25 17:15             ` [devel] про LSB Dmitry V. Levin
2006-02-26  8:24               ` Ivan Fedorov
2006-02-27 22:08         ` [devel] [JT] Re: Определение версии дистрибутива Linux Michael Shigorin

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=200602240019.37644.lav@altlinux.ru \
    --to=lav@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /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