[asterisk-commits] sounds r25161 - /sounds/fr/trunk/install_french.sh

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 8 04:11:24 MST 2006


Author: junky
Date: Fri May  5 21:26:26 2006
New Revision: 25161

URL: http://svn.digium.com/view/asterisk?rev=25161&view=rev
Log: (empty)

Added:
    sounds/fr/trunk/install_french.sh   (with props)

Added: sounds/fr/trunk/install_french.sh
URL: http://svn.digium.com/view/asterisk/sounds/fr/trunk/install_french.sh?rev=25161&view=auto
==============================================================================
--- sounds/fr/trunk/install_french.sh (added)
+++ sounds/fr/trunk/install_french.sh Fri May  5 21:26:26 2006
@@ -1,0 +1,68 @@
+#!/bin/bash
+
+# Script creant des liens symboliques permetannt l'utilisation des fichiers audios plus rapidement
+#
+# Clod Patry ( cpatry at gmail.com )
+# Version 1.0 05/5/2006 (happy birthday mom)
+
+SOUNDS_ABS=/var/lib/asterisk/sounds
+LANGUAGE=fr
+
+#root
+if [ ! -e $SOUNDS_ABS ]; then
+	echo "Le repertoire $SOUNDS_ABS ne semble pas exister. Installez asterisk ou corriger le \$SOUNDS_ABS";
+	exit;
+fi
+
+DIR=dictate
+CUR=$PWD/$DIR
+if [ ! -e $SOUNDS_ABS/$DIR/$LANGUAGE ]; then
+	if [ ! -e $CUR ]; then
+                echo "Le repertoire $CUR ne semble pas exister.";
+        else
+                ln -s $CUR $SOUNDS_ABS/$DIR/$LANGUAGE
+        fi
+else
+	echo "Impossible de creer $SOUNDS_ABS/$DIR/$LANGUAGE , il existe deja."
+fi
+
+
+DIR=digits
+CUR=$PWD/$DIR
+if [ ! -e $SOUNDS_ABS/$DIR/$LANGUAGE ]; then
+        if [ ! -e $CUR ]; then
+                echo "Le repertoire $CUR ne semble pas exister.";
+        else
+                ln -s $CUR $SOUNDS_ABS/$DIR/$LANGUAGE
+        fi
+else
+        echo "Impossible de creer $SOUNDS_ABS/$DIR/$LANGUAGE , il existe deja."
+fi
+
+
+DIR=letters
+CUR=$PWD/$DIR
+if [ ! -e $SOUNDS_ABS/$DIR/$LANGUAGE ]; then
+        if [ ! -e $CUR ]; then
+                echo "Le repertoire $CUR ne semble pas exister.";
+        else
+                ln -s $CUR $SOUNDS_ABS/$DIR/$LANGUAGE
+        fi
+else
+        echo "Impossible de creer $SOUNDS_ABS/$DIR/$LANGUAGE , il existe deja."
+fi
+
+
+DIR=phonetic
+CUR=$PWD/$DIR
+if [ ! -e $SOUNDS_ABS/$DIR/$LANGUAGE ]; then
+	if [ ! -e $CUR ]; then
+		echo "Le repertoire $CUR ne semble pas exister.";
+	else
+        	ln -s $CUR $SOUNDS_ABS/$DIR/$LANGUAGE
+	fi
+else
+        echo "Impossible de creer $SOUNDS_ABS/$DIR/$LANGUAGE , il existe deja."
+fi
+
+

Propchange: sounds/fr/trunk/install_french.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sounds/fr/trunk/install_french.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sounds/fr/trunk/install_french.sh
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: sounds/fr/trunk/install_french.sh
------------------------------------------------------------------------------
    svn:mime-type = text/plain



More information about the asterisk-commits mailing list