21 lines
468 B
Bash
21 lines
468 B
Bash
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany. All rights reserved.
|
|
#
|
|
# Author: Mike Fabian <mfabian@suse.de>, 2000
|
|
#
|
|
|
|
|
|
for iculibdir in $(echo /usr/lib*/icu/ )
|
|
do
|
|
echo "Adjust the current ICU link in $iculibdir ..."
|
|
|
|
icucurrent=`2>/dev/null ls -dp ${iculibdir}/* | sed -n 's,.*/\([^/]*\)/$,\1,p'| sort -rn | head -1`
|
|
cd $iculibdir
|
|
rm -f current
|
|
if test x"$icucurrent" != x
|
|
then
|
|
ln -s "$icucurrent" current
|
|
fi
|
|
done
|