From: "Dmitry V. Levin" <ldv@alt-linux.org> To: devel@altlinux.ru Subject: Re: [devel] Versioning Date: Mon, 21 May 2001 15:08:58 +0400 Message-ID: <20010521150858.B5016@ldv.office.alt-linux.org> (raw) In-Reply-To: <20010519122556.B8351@boids.avilink.net>; from ab@avilink.net on Sat, May 19, 2001 at 12:25:56PM +0300 [-- Attachment #1: Type: text/plain, Size: 1392 bytes --] On Sat, May 19, 2001 at 12:25:56PM +0300, Alexander Bokovoy wrote: > Возникла следующая проблема. Для интеграции поддержки наших дистрибутивов > в Ximian Setup Tools требуется определиться с номером версии для ALT Linux > (это требование XST), а также с методом определения платформы. > > В оригинале для других платформ используется следующий метод: в /etc/ > ищется файл-метка, свойственная дистрибутиву. В случае RedHat -- > /etc/redhat-release, Mandrake -- /etc/mandrake-release, у нас -- полный > разнобой, в Сизифе одно, в релизе -- другое, в Castle, наверное, будет > третье. В msi - четвертое, ... > Пока что я избрал следующий путь: анализируется %VENDOR для пакета rpm и > если он равен ALT Linux Team или IPLabs Linux Team, то система наша. Но > есть ли возможность использовать что-нибудь уникальное для первого > способа? (cat /etc/altlinux-release || cat /etc/mandrake-release || cat /etc/redhat-release) 2>/dev/null |egrep -qs '^(ALT Linux|Linux-Mandrake Russian Edition)' && system=altlinux Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-05-21 11:08 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-05-19 9:25 Alexander Bokovoy 2001-05-21 11:08 ` Dmitry V. Levin [this message] 2001-05-21 11:07 ` Alexander Bokovoy 2001-05-21 11:24 ` Dmitry V. Levin 2001-05-21 11:44 ` Alexander Bokovoy 2001-05-21 11:58 ` Dmitry V. Levin 2001-05-21 12:16 ` Alexander Bokovoy 2001-05-21 12:51 ` Dmitry V. Levin 2001-05-21 12:52 ` Alexander Bokovoy 2001-05-21 12:59 ` Alexander Bokovoy
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=20010521150858.B5016@ldv.office.alt-linux.org \ --to=ldv@alt-linux.org \ --cc=devel@altlinux.ru \ --cc=devel@linux.iplabs.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