ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Denis G. Samsonenko" <d.g.samsonenko@gmail.com>
To: community@lists.altlinux.org
Subject: Re: [Comm] расположение конфигурационных файлов
Date: Tue, 2 Feb 2010 00:04:15 +0600
Message-ID: <957265821002011004k2fa035fdhb3a161b5a5190fbc@mail.gmail.com> (raw)
In-Reply-To: <957265821002010455o28be95e1wd54be7f0f27fe974@mail.gmail.com>

День добрый!

> В связи с этим изложенным у меня есть вопрос: куда раскидать по
> файловой системе все файлы проекта? В каком каталоге сейчас принято
> хранить пользовательские файлы конфигурации? Куда класть файлы с
> читаемыми прогой данными (.dat), системный и пользовательский?

Немного покопавшись в системе пришёл следующим выводам. Допустим прога
состоит из следующих файлов:

1) perlprog
2) perlprog.pm
3) perlprogdat.dat
4) perlprog.conf
5) perlproguserdat.dat

Правильно ли я понимаю, что указанные файлы должны находиться согласно
следующему списку?

1) perlprog должен лежать в /usr/bin;

2) perlprog.pm - в /usr/lib/perl5/vendor_perl/i386-linux (макрос
%perl_vendor_archlib в spec-файле);

3) perlprogdat.dat - в /usr/share/perldoc (%_datadir/%name);

4) perlprog.conf - в /etc/perlprog, а также может быть в каталоге
пользователя ~/.config/pelprog;

5) perlproguserdat.dat в каталоге пользователя ~/.local/share/data/perlprog.

Поправьте, пожалуйста, всё ли правильно?

-- 
Всего доброго,

Денис.

  reply	other threads:[~2010-02-01 18:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-01 12:55 Denis G. Samsonenko
2010-02-01 18:04 ` Denis G. Samsonenko [this message]
2010-02-02  4:07   ` Denis Nazarov
2010-02-02  5:06     ` Denis G. Samsonenko
2010-02-02  6:49       ` Andrey Rahmatullin

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=957265821002011004k2fa035fdhb3a161b5a5190fbc@mail.gmail.com \
    --to=d.g.samsonenko@gmail.com \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git