diff -p -up f-spot-0.4.2/src/f-spot.in.sqlite3-update f-spot-0.4.2/src/f-spot.in --- f-spot-0.4.2/src/f-spot.in.sqlite3-update 2007-12-04 13:19:18.000000000 +0100 +++ f-spot-0.4.2/src/f-spot.in 2008-02-15 09:59:40.000000000 +0100 @@ -8,6 +8,10 @@ beagledir=@BEAGLE_DIR@ EXE_TO_RUN="$libdir/f-spot/f-spot.exe" +# gw automatic update of the photo database +file ~/.gnome2/f-spot/photos.db|fgrep -q 2.x && f-spot-sqlite-upgrade + + if test "x$turtledir" != "x"; then export MONO_PATH=$turtledir/lib:$turtledir/gui:$MONO_PATH fi diff -p -up f-spot-0.4.2/tools/f-spot-sqlite-upgrade.sqlite3-update f-spot-0.4.2/tools/f-spot-sqlite-upgrade