From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 5 Apr 2003 15:22:32 +0700 From: =?KOI8-R?Q?=ED=C5=CC=D8=CE=C9=CB=CF=D7_=ED=C1=CB=D3=C9=CD_=E1=CE=C4?= =?KOI8-R?Q?=D2=C5=C5=D7=C9=DE?= To: sisyphus@altlinux.ru Subject: Re: [sisyphus] apt-get remove apache Message-Id: <20030405152232.46412c1e.mars@ce.cctpu.edu.ru> In-Reply-To: <20030405075208.GF26206@is.com.ua> References: <20030404180812.GD26206@is.com.ua> <20030404183401.GC507@sam-solutions.net> <20030405075208.GF26206@is.com.ua> Organization: =?KOI8-R?Q?=CB=C1=C6=2E_=F7=F4_=E1=F7=F4=E6_=F4=F0=F5?= X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: On Sat, 5 Apr 2003 10:52:08 +0300 Vladimir Alyekhin wrote: > А теперь смотрим внимательно на последние 3 строчки вывода > команды rpm -q --scripts apache: > $ rpm -q --scripts apache > postinstall scriptlet (through /bin/sh): > > if [ $1 = 1 ]; then > /sbin/chkconfig --add httpd > else > /sbin/service httpd condrestart ||: > fi > preuninstall scriptlet (through /bin/sh): > > if [ $1 = 0 ]; then > /sbin/chkconfig --del httpd ||: > /sbin/service httpd condstop ||: > fi > if [ $1 = 0 ]; then > rm -rf /var/log/httpd/* > fi > > Почему папка /var/log/httpd принадлежит пакету apache-common > а сносит ее пакет apache??? Дак здесь же выносится только что в ней находится, а сама папка остается