Add locale support

This is not tested yet!
diff --git a/install.sh b/install.sh
index e90da0a..bc1b6f2 100755
--- a/install.sh
+++ b/install.sh
@@ -19,19 +19,11 @@
 	exit 1
 }
 
-readlink() {
-
-	local exe="$1"
-	shift
-
-	L=$(ls -dl "$exe")
-
-	printf ${L#*-> }
-}
-
 script="$0"
 scriptdir=$(dirname "$script")
 
+. "$scriptdir/tests/functions.sh"
+
 INSTALL="$scriptdir/safe-install.sh"
 
 test "$#" -ge 2 || usage