View Single Post
  #6 (permalink)  
Old 11-17-2006, 07:49 AM
haensse haensse is offline
Member
 
Posts: 13
Default

This is what /etc/debian_version tells me
vserver1:~/zcs/bin# cat /etc/debian_version
4.0

so in zcs/bin/get_plat_tag.sh I modified the line with the grep

original:
if [ -f /etc/debian_version ]; then
grep "3.1" /etc/debian_version > /dev/null 2>&1
if [ $? = 0 ]; then
echo "DEBIAN3.1"
exit 0
fi
fi

modified the grep line to
grep "4.0" /etc/debian_version > /dev/null 2>&1

and it works. Thanks to quick help.

best regards
Dani
Reply With Quote