[Pkg-voip-commits] r8219 - in /asterisk-prompt-es/trunk/debian: asterisk-prompt-es.install asterisk-prompt-es.links changelog control postinst postrm

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Fri Mar 19 21:14:35 UTC 2010


Author: tzafrir-guest
Date: Fri Mar 19 21:14:35 2010
New Revision: 8219

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8219
Log:
* Moving files to /usr/share/asterisk/sounds/es_ES_Alberto
* sounds/es is now a symlink
* Removed old Asterisk 1.2 compatibility links.
* Adding myself as uploader.

Added:
    asterisk-prompt-es/trunk/debian/postinst
    asterisk-prompt-es/trunk/debian/postrm
Removed:
    asterisk-prompt-es/trunk/debian/asterisk-prompt-es.links
Modified:
    asterisk-prompt-es/trunk/debian/asterisk-prompt-es.install
    asterisk-prompt-es/trunk/debian/changelog
    asterisk-prompt-es/trunk/debian/control

Modified: asterisk-prompt-es/trunk/debian/asterisk-prompt-es.install
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/asterisk-prompt-es.install?rev=8219&op=diff
==============================================================================
--- asterisk-prompt-es/trunk/debian/asterisk-prompt-es.install (original)
+++ asterisk-prompt-es/trunk/debian/asterisk-prompt-es.install Fri Mar 19 21:14:35 2010
@@ -1,8 +1,8 @@
-es/ usr/share/asterisk/sounds/
-digits/ usr/share/asterisk/sounds/
-phonetic/ usr/share/asterisk/sounds/
-letters/ usr/share/asterisk/sounds/
-silence/ usr/share/asterisk/sounds/
-dictate/ usr/share/asterisk/sounds/
-followme/ usr/share/asterisk/sounds/
+es/*		usr/share/asterisk/sounds/es_ES_Alberto
+digits		usr/share/asterisk/sounds/es_ES_Alberto
+phonetic	usr/share/asterisk/sounds/es_ES_Alberto
+letters		usr/share/asterisk/sounds/es_ES_Alberto
+silence		usr/share/asterisk/sounds/es_ES_Alberto
+dictate		usr/share/asterisk/sounds/es_ES_Alberto
+followme	usr/share/asterisk/sounds/es_ES_Alberto
 

Modified: asterisk-prompt-es/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/changelog?rev=8219&op=diff
==============================================================================
--- asterisk-prompt-es/trunk/debian/changelog (original)
+++ asterisk-prompt-es/trunk/debian/changelog Fri Mar 19 21:14:35 2010
@@ -1,3 +1,12 @@
+asterisk-prompt-es (1.4-3) unstable; urgency=low
+
+  * Moving files to /usr/share/asterisk/sounds/es_ES_Alberto
+  * sounds/es is now a symlink
+  * Removed old Asterisk 1.2 compatibility links.
+  * Adding myself as uploader.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Fri, 19 Mar 2010 22:30:31 +0200
+
 asterisk-prompt-es (1.4-2) unstable; urgency=low
 
   * Fixed typo on control Vcs-Browser field.

Modified: asterisk-prompt-es/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/control?rev=8219&op=diff
==============================================================================
--- asterisk-prompt-es/trunk/debian/control (original)
+++ asterisk-prompt-es/trunk/debian/control Fri Mar 19 21:14:35 2010
@@ -2,7 +2,7 @@
 Section: non-free/comm
 Priority: extra
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
-Uploaders: Victor Seva <linuxmaniac at torreviejawireless.org>, Faidon Liambotis <paravoid at debian.org>, Mark Purcell <msp at debian.org>
+Uploaders: Victor Seva <linuxmaniac at torreviejawireless.org>, Faidon Liambotis <paravoid at debian.org>, Mark Purcell <msp at debian.org>, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
 Build-Depends: debhelper (>= 4.0.0)
 Standards-Version: 3.8.0
 Homepage: http://www.voipnovatos.es/voces/
@@ -13,6 +13,7 @@
 Architecture: all
 Depends: asterisk (>= 1:1.4 )
 Enhances: asterisk
+Conflicts: asterisk-sounds-main (<< 1.6.2.6)
 Description: Spanish prompts for the Asterisk PBX
  These are Spanish voicemail prompts for use with the Asterisk PBX,
  courtesy of Alberto Sagredo Castro (http://www.voipnovatos.es).

Added: asterisk-prompt-es/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/postinst?rev=8219&op=file
==============================================================================
--- asterisk-prompt-es/trunk/debian/postinst (added)
+++ asterisk-prompt-es/trunk/debian/postinst Fri Mar 19 21:14:35 2010
@@ -1,0 +1,45 @@
+#! /bin/sh
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+
+SYMLINK=/usr/share/asterisk/sounds/es
+TARGET=es_ES_Alberto
+
+
+case "$1" in
+    configure)
+        if [ ! -d "$SYMLINK" ]; then
+	    if [ -L "$SYMLINK" ]; then
+		# dandling symlink? symlink to a file? kill it
+		rm -f "$SYMLINK"
+	    fi
+	    ln -s "$TARGET" "$SYMLINK"
+	fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: asterisk-prompt-es/trunk/debian/postrm
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-es/trunk/debian/postrm?rev=8219&op=file
==============================================================================
--- asterisk-prompt-es/trunk/debian/postrm (added)
+++ asterisk-prompt-es/trunk/debian/postrm Fri Mar 19 21:14:35 2010
@@ -1,0 +1,11 @@
+#! /bin/sh -e
+
+SYMLINK=/usr/share/asterisk/sounds/es
+TARGET=es_ES_Alberto
+
+if [ ! -d "$SYMLINK" ] && [ -L "$SYMLINK" ]; then
+    # dandling symlink? symlink to a file? kill it
+    rm -f "$SYMLINK"
+fi
+
+#DEBHELPER#




More information about the Pkg-voip-commits mailing list