From: Yura Zotov <yznews@hotbox.ru> To: Devel-Sisyphus List <devel@linux.iplabs.ru> Subject: [devel] Список файлов для rpm-пакета Date: Fri, 22 Jun 2001 13:40:13 +0400 Message-ID: <20010622134013.A10757@vezyolka.dgap.mipt.ru> (raw) При установке пакета 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
next reply other threads:[~2001-06-22 9:40 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-06-22 9:40 Yura Zotov [this message] 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
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=20010622134013.A10757@vezyolka.dgap.mipt.ru \ --to=yznews@hotbox.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