[devel] скрипты

Alexander Bokovoy =?iso-8859-1?q?a=2Ebokovoy_=CE=C1_sam-solutions=2Enet?=
Чт Фев 20 17:36:58 MSK 2003


On Thu, Feb 20, 2003 at 03:57:48PM +0300, Stanislav Ievlev wrote:
> krb5-server :
> postinstall scriptlet (through /bin/sh): # Remove the init script for older servers. [ -x /etc/rc.d/
> init.d/krb5server ] && /sbin/chkconfig --del krb5server # Install the new ones. for i in krb5kdc kad
> min krb524 kprop; do /sbin/chkconfig --add $i done
> 
> Явно не используется post/preun_service? Какой в этом грубинный смысл?
Это будет исправлено чуть позже (некритично сейчас).

> libkrb5 :
> postinstall scriptlet (through /bin/sh): if [ $1 = 1 ] ; then /bin/grep -Fq /usr/lib/krb5 /etc/ld.so
> .conf || echo "/usr/lib/krb5" >> /etc/ld.so.conf /sbin/ldconfig fi postuninstall scriptlet (through 
> /bin/sh): if [ $1 = 0 ] ; then TEMPFILE=`mktemp` if [ -n "$TEMPFILE" ] ; then /bin/fgrep -v /usr/lib
> /krb5 /etc/ld.so.conf >> $TEMPFILE /bin/mv -f $TEMPFILE /etc/ld.so.conf /bin/chmod 655 /etc/ld.so.co
> nf /bin/chown root:root /etc/ld.so.conf /sbin/ldconfig /bin/rm -f $TEMPFILE fi fi
> 
> Может библиотеки переместить в правильное место?
Они лежат в правильном месте, уж поверьте.

-- 
/ Alexander Bokovoy
---
Actual war is a very messy business.  Very, very messy business.
		-- Kirk, "A Taste of Armageddon", stardate 3193.0



Подробная информация о списке рассылки Devel