--- seom.pc.in.orig	2007-01-19 15:04:13 UTC
+++ seom.pc.in
@@ -1,9 +1,9 @@
 #!/bin/sh
 
-if which svn &>/dev/null && svn info &>/dev/null; then
-	VERSION="1.0-$(svn info | grep Revision | sed 's#Revision: ##')"
-elif [ -e VERSION ]; then
+if [ -e VERSION ]; then
 	VERSION=$(cat VERSION 2>/dev/null)
+elif which svn &>/dev/null && svn info &>/dev/null; then
+	VERSION="1.0-$(svn info | grep Revision | sed 's#Revision: ##')"
 else
 	exit
 fi
