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 |