ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Список файлов для rpm-пакета
@ 2001-06-22  9:40 Yura Zotov
  2001-06-22  9:53 ` [devel] " Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Yura Zotov @ 2001-06-22  9:40 UTC (permalink / raw)
  To: Devel-Sisyphus List

При установке пакета dx файлы располагаются в такои порядке
%files
%_bindir/*
%_libdir/dx/bin
%_libdir/dx/bin_linux
%_libdir/dx/fonts
%_libdir/dx/help
%_libdir/dx/lib
%_libdir/dx/ui
%_mandir/manl/*
%doc LICENSE README ChangeLog html/.install/html doc/.install/doc
 
%files devel
%_includedir/*
%_libdir/dx/*.a

при этом после удаления пакета остается пустой каталог
/usr/lib/dx. Можно, конечно, написать
%postun
rmdir %_libdir/dx

но тогда при удалении одновременно нескольких пакетов получаем
вот что
# rpm -e dx dxsamples-4.1.3-alt2 dx-devel-4.1.3-alt3 dx-java-4.1.3-alt3
rmdir: `/usr/lib/dx': Directory not empty
ошибка исполнения скрипта dx-4.1.3-alt3, код возврата 1

а rm -rf писать не охота. Как быть в таком случае?

Заранее спасибо за помощь.

--
Юрий А. Зотов
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel


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

end of thread, other threads:[~2001-06-22 10:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-22  9:40 [devel] Список файлов для rpm-пакета Yura Zotov
2001-06-22  9:53 ` [devel] " Dmitry V. Levin
2001-06-22 10:06   ` [devel] " Yura Zotov
2001-06-22 10:12     ` Dmitry V. Levin

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