ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] [PATCH] Also run update-desktop-database when updating menus.
@ 2008-07-08 22:27 Alexey Tourbin
  2008-07-09  6:50 ` Alexey I. Froloff
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2008-07-08 22:27 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]

On Tue, Jul 08, 2008 at 12:22:45AM +0400, Alexey I. Froloff wrote:
> diff --git a/platform.in b/platform.in
> index 964e6d9..20b2847 100644
> --- a/platform.in
> +++ b/platform.in
> @@ -405,8 +405,11 @@
>  @alt@
>  @alt@# Update Menus.
>  @alt@%_update_menus_bin	%_bindir/update-menus
> -@alt@%update_menus	update_menus_bin='%_update_menus_bin' && [ -x "$update_menus_bin" ] && "$update_menus_bin" ||:
> -@alt@%clean_menus	update_menus_bin='%_update_menus_bin' && [ "$1" = 0 -a -x "$update_menus_bin" ] && "$update_menus_bin" ||:
> +@alt@%_update_desktopdb_bin %{_bindir}/update-desktop-database
> +@alt@%update_menus	update_menus_bin='%_update_menus_bin' && [ -x "$update_menus_bin" ] && "$update_menus_bin" ||: \
> +@alt@update_desktopdb_bin='%_update_desktopdb_bin' && [ -x "$update_desktopdb_bin" ] && "$update_desktopdb_bin" ||: \
> +@alt@%clean_menus	update_menus_bin='%_update_menus_bin' && [ "$1" = 0 -a -x "$update_menus_bin" ] && "$update_menus_bin" ||: \
> +@alt@update_desktopdb_bin='%_update_desktopdb_bin' && [ "$1" = 0 -a -x "$update_desktopdb_bin" ] && "$update_desktopdb_bin" ||:

Мне не нравится.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] [PATCH] Also run update-desktop-database when updating menus.
  2008-07-08 22:27 [devel] [PATCH] Also run update-desktop-database when updating menus Alexey Tourbin
@ 2008-07-09  6:50 ` Alexey I. Froloff
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey I. Froloff @ 2008-07-09  6:50 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

* Alexey Tourbin <at@> [080709 02:44]:
> > +@alt@%_update_desktopdb_bin %{_bindir}/update-desktop-database
> Мне не нравится.
Мне тоже.  По хорошему надо этот код положить в какой-то скрипт.
Только куда положить скрипт, учитывая что он зависит и от menu и
от d-f-i?

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-09  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-08 22:27 [devel] [PATCH] Also run update-desktop-database when updating menus Alexey Tourbin
2008-07-09  6:50 ` Alexey I. Froloff

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