ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Drool <drool_linux@pisem.net>
To: community@altlinux.ru
Subject: Re: [Comm] Временные пути
Date: Fri, 18 Feb 2005 10:53:28 +0200
Message-ID: <20050218105328.426a2dce@super-comp.home.net> (raw)
In-Reply-To: <4214AD9E.8050807@rol.ru>

On Thu, 17 Feb 2005 17:43:42 +0300
Zilke Pavel <zidex@rol.ru> wrote:

> Drool пишет:
> 
> >	Привет всем!
> >
> >	Есть программулина, исполняемый файл лежит в /usr/bin, который жестко
хотит
> >присутствия в этом же каталоге директорий img и res... Захламлять /usr/bin
> >сторонними папками некрасиво, я их сложил в /usr/share/имя_программы, а из
> >положения вышел путем создания симлинков на нее в /usr/bin... Тоже не есть
> >совсем кошерно... Вижу выход в создании запускающего sh-скрипта типа
> >
> >	cd /usr/bin/
> >	./имя_программы
> >
> >	Но возможно ли задание в этом файле временного пути на время запуска
программы,
> >который бы обманывал ее и подсовывал нужные пути к нужным каталогам?
> >_______________________________________________
> >  
> >
> А что если сделать так?
> Положить программу в /usr/lib/программулина и img и res туда же.
> А в /usr/bin положить запускающий скрипт.
> _______________________________________________
	Почти так и сделал - программулину сунул в /usr/share/программа, туда же нужные
ей папки, а в /usr/bin запускающий скрипт.
	Обидно, что ходил возле этого, но видать голова сильно затурканная была - начал
велосипед изобретать, когда все было намного проще :-)
	А была это новая версия Glukalka :-)


      parent reply	other threads:[~2005-02-18  8:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17 13:03 Drool
2005-02-17 14:09 ` Alexey Rusakov
2005-02-17 14:16   ` Dmytro O. Redchuk
2005-02-17 14:43 ` Zilke Pavel
2005-02-17 14:46   ` Alexey Rusakov
2005-02-18  8:53   ` Drool [this message]

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=20050218105328.426a2dce@super-comp.home.net \
    --to=drool_linux@pisem.net \
    --cc=community@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 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