[Pkg-voip-commits] r9202 - in /asterisk-prompt-fr-armelle/trunk/debian: changelog control install postinst prerm

lmamane at alioth.debian.org lmamane at alioth.debian.org
Fri Jul 29 17:55:12 UTC 2011


Author: lmamane
Date: Fri Jul 29 17:55:11 2011
New Revision: 9202

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9202
Log:
apply same changes as in -proformatique

Modified:
    asterisk-prompt-fr-armelle/trunk/debian/changelog
    asterisk-prompt-fr-armelle/trunk/debian/control
    asterisk-prompt-fr-armelle/trunk/debian/install
    asterisk-prompt-fr-armelle/trunk/debian/postinst
    asterisk-prompt-fr-armelle/trunk/debian/prerm

Modified: asterisk-prompt-fr-armelle/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-fr-armelle/trunk/debian/changelog?rev=9202&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/changelog (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/changelog Fri Jul 29 17:55:11 2011
@@ -1,13 +1,13 @@
 asterisk-prompt-fr-armelle (20070613-3) unstable; urgency=low
 
   * Add myself as maintainer.
-  * Move files to /usr/share/asterisksounds/fr_FR_Armelle .
+  * Move files to /usr/share/asterisk/sounds/fr_FR_f_armelle .
   * May provide sounds/fr and sounds/fr_FR as alternatives.
-  * Enahnce asterisk.
+  * Enhance asterisk.
   * Conflict with older packages that have the dir sounds/fr .
   * But no longer conflict with 'asterisk-prompt-fr' generally.
   * Remove old Asterisk 1.2 compatibility symlinks.
-  * Standards version -> 3.8.4 (No change needed). 
+  * Standards version -> 3.8.4 (No change needed).
 
  -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Mon, 29 Mar 2010 14:35:06 +0300
 

Modified: asterisk-prompt-fr-armelle/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-fr-armelle/trunk/debian/control?rev=9202&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/control (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/control Fri Jul 29 17:55:11 2011
@@ -10,7 +10,7 @@
 
 Package: asterisk-prompt-fr-armelle
 Architecture: all
-Recommends: asterisk (>= 1:1.2)
+Recommends: asterisk (>= 1:1.4)
 Conflicts: asterisk-sounds-main (<< 1.6.2.6), asterisk-prompt-fr-proformatique (<<20070706-1.4-4)
 Provides: asterisk-prompt-fr, asterisk-prompt-fr-fr
 Enhances: asterisk

Modified: asterisk-prompt-fr-armelle/trunk/debian/install
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-fr-armelle/trunk/debian/install?rev=9202&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/install (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/install Fri Jul 29 17:55:11 2011
@@ -1,5 +1,5 @@
-dictate		usr/share/asterisk/sounds/fr_FR_Armelle
-digits		usr/share/asterisk/sounds/fr_FR_Armelle
-fr/*		usr/share/asterisk/sounds/fr_FR_Armelle
-letters		usr/share/asterisk/sounds/fr_FR_Armelle
-phonetic	usr/share/asterisk/sounds/fr_FR_Armelle
+fr/*		usr/share/asterisk/sounds/fr_FR_f_armelle
+dictate/fr/*	usr/share/asterisk/sounds/fr_FR_f_armelle/dictate
+digits/fr/*	usr/share/asterisk/sounds/fr_FR_f_armelle/digits
+letters/fr/*	usr/share/asterisk/sounds/fr_FR_f_armelle/letters
+phonetic/fr/*	usr/share/asterisk/sounds/fr_FR_f_armelle/phonetic

Modified: asterisk-prompt-fr-armelle/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-fr-armelle/trunk/debian/postinst?rev=9202&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/postinst (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/postinst Fri Jul 29 17:55:11 2011
@@ -15,10 +15,10 @@
     configure)
 	update-alternatives --install \
 	    /usr/share/asterisk/sounds/fr asterisk-prompt-fr \
-	    /usr/share/asterisk/sounds/fr_FR_Armelle 30
+	    /usr/share/asterisk/sounds/fr_FR_f_armelle 30
 	update-alternatives --install \
 	    /usr/share/asterisk/sounds/fr_FR asterisk-prompt-fr-fr \
-	    /usr/share/asterisk/sounds/fr_FR_Armelle 30
+	    /usr/share/asterisk/sounds/fr_FR_f_armelle 30
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Modified: asterisk-prompt-fr-armelle/trunk/debian/prerm
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-fr-armelle/trunk/debian/prerm?rev=9202&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/prerm (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/prerm Fri Jul 29 17:55:11 2011
@@ -1,6 +1,16 @@
 #! /bin/sh -e
 
-update-alternatives --remove asterisk-prompt-fr    /usr/share/asterisk/sounds/fr_FR_Armelle
-update-alternatives --remove asterisk-prompt-fr-fr /usr/share/asterisk/sounds/fr_FR_Armelle
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 20070613-3; then
+    echo
+    echo '***** asterisk-prompt-fr-armelle *****'
+    echo "No, this downgrade will not work."
+    echo "If you really want to downgrade, then first purge me and then install old version."
+    echo '***** asterisk-prompt-fr-armelle *****'
+    echo
+    exit 1
+elif [ "$1" = "remove" ]; then
+    update-alternatives --remove asterisk-prompt-fr    /usr/share/asterisk/sounds/fr_FR_f_armelle
+    update-alternatives --remove asterisk-prompt-fr-fr /usr/share/asterisk/sounds/fr_FR_f_armelle
+fi
 
 #DEBHELPER#




More information about the Pkg-voip-commits mailing list