Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > 95478f7e34879263257bd1fb5b49c5b3 > scriptlet

SL_no_colorls-1.0-3.noarch.rpm

POSTIN

/bin/sh

#
# This will append a line to /etc/sysconfig/i18n iff it exists and
# doesn't contain a LC_COLLATE definition and the LANG is set 
#

file=/etc/profile.d/colorls

if [ -f $file.sh ] 
then
	mv $file.sh $file.sh.not
fi

if [ -f $file.csh ]
then
	mv $file.csh $file.csh.not
fi

POSTUN

/bin/sh

file=/etc/profile.d/colorls

if [ -f $file.sh.not ]
then
	mv $file.sh.not $file.sh
fi

if [ -f $file.csh.not ]
then
	mv $file.csh.not $file.csh
fi