preinst (bed-3.0.3.src.tar.xz) | : | preinst (bed-3.1.0.src.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 15 | skipping to change at line 15 | |||
then | then | |||
wasdir=`pwd` | wasdir=`pwd` | |||
cd $fil | cd $fil | |||
LINKTO=`readlink $fil` | LINKTO=`readlink $fil` | |||
if test ! -d $LINKTO | if test ! -d $LINKTO | |||
then | then | |||
LINKTO=`dirname $fil`/`readlink $fil` | LINKTO=`dirname $fil`/`readlink $fil` | |||
fi | fi | |||
cd $wasdir | cd $wasdir | |||
echo previous version in $LINKTO | echo previous version in $LINKTO | |||
if test /usr/share/bed = $fil | if test /usr/local/share/bed = $fil | |||
then | then | |||
# if test $LINKTO = /usr/lib/bed-3.0.3 | # if test $LINKTO = /usr/local/lib/bed-3.1.0 | |||
# then | # then | |||
# echo overwrite $LINKTO | # echo overwrite $LINKTO | |||
# else | # else | |||
# echo link to different dir $LINKTO | # echo link to different dir $LINKTO | |||
# fi | # fi | |||
echo uninstall the old version with: | echo uninstall the old version with: | |||
echo bash $LINKTO/uninstallbed.sh | echo bash $LINKTO/uninstallbed.sh | |||
echo uninstall what is left of the new version with: | echo uninstall what is left of the new version with: | |||
echo dpkg -r bed | echo dpkg -r bed | |||
echo and reinstall bed | echo and reinstall bed | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |