1 # arg 1: the new package version
6 # arg 1: the new package version
7 # arg 2: the old package version
10 echo ">>> You can find documentation at http://smile.tuxfamily.org/HELP/doc_en.html"
12 if [ `vercmp $2 0.8.0` -lt 0 ]; then
14 echo ">>> You appear to upgrading SMILE from a version lower than 0.8.0"
15 echo ">>> to version 0.8.0 or above."
16 echo ">>> If this is really your situation, you shouldn't use your old"
17 echo ">>> project files because new format."
20 if [ `vercmp $2 1.0` -lt 0 ]; then
21 echo "********************* IMPORTANT UPGRADE NOTICE *********************"
23 echo "* You appear to be upgrading SMILE from a version lower than 1.0 *"
24 echo "* to version 1.0 (or higher). *"
25 echo "* If this is really your situation, you must remove the file *"
26 echo "* .smile.cnf from your home directory BEFORE USING THE APLICATION *"
28 echo "********************************************************************"
30 echo "* You can do it by executing (logged as your normal user): *"
31 echo "* rm ~/.smile.cnf *"
33 echo "********************************************************************"