[Pkg-voip-commits] r8242 - in /asterisk-prompt-fr-armelle/trunk/debian: changelog control postinst postrm prerm
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Mon Mar 29 12:15:25 UTC 2010
Author: tzafrir-guest
Date: Mon Mar 29 12:15:16 2010
New Revision: 8242
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8242
Log:
* May provide sounds/fr and sounds/fr_FR as alternatives.
* Enahnce asterisk.
Removed:
asterisk-prompt-fr-armelle/trunk/debian/postrm
Modified:
asterisk-prompt-fr-armelle/trunk/debian/changelog
asterisk-prompt-fr-armelle/trunk/debian/control
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=8242&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/changelog (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/changelog Mon Mar 29 12:15:16 2010
@@ -2,13 +2,14 @@
* Add myself as maintainer.
* Move files to /usr/share/asterisksounds/fr_FR_Armelle .
- * May provide sounds/fr through a symlink.
+ * May provide sounds/fr and sounds/fr_FR as alternatives.
+ * Enahnce 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).
- -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Fri, 19 Mar 2010 23:32:52 +0200
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Mon, 29 Mar 2010 14:35:06 +0300
asterisk-prompt-fr-armelle (20070613-2) unstable; urgency=low
Modified: asterisk-prompt-fr-armelle/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-fr-armelle/trunk/debian/control?rev=8242&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/control (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/control Mon Mar 29 12:15:16 2010
@@ -12,7 +12,8 @@
Architecture: all
Recommends: asterisk (>= 1:1.2)
Conflicts: asterisk-sounds-main (<< 1.6.2.6), asterisk-prompt-fr-proformatique (<<20070706-1.4-4)
-Provides: asterisk-prompt-fr
+Provides: asterisk-prompt-fr, asterisk-prompt-fr-fr
+Enhances: asterisk
Depends: ${misc:Depends}
Description: French voice prompts for Asterisk by Armelle Desjardins
These are French voice prompts for the Asterisk PBX, recorded by
Modified: asterisk-prompt-fr-armelle/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-prompt-fr-armelle/trunk/debian/postinst?rev=8242&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/postinst (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/postinst Mon Mar 29 12:15:16 2010
@@ -11,19 +11,14 @@
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
-SYMLINK=/usr/share/asterisk/sounds/fr
-TARGET=fr_FR_Armelle
-
-
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
+ update-alternatives --install \
+ /usr/share/asterisk/sounds/fr asterisk-prompt-fr \
+ /usr/share/asterisk/sounds/fr_FR_Armelle 30
+ update-alternatives --install \
+ /usr/share/asterisk/sounds/fr_FR asterisk-prompt-fr-fr \
+ /usr/share/asterisk/sounds/fr_FR_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=8242&op=diff
==============================================================================
--- asterisk-prompt-fr-armelle/trunk/debian/prerm (original)
+++ asterisk-prompt-fr-armelle/trunk/debian/prerm Mon Mar 29 12:15:16 2010
@@ -1,9 +1,6 @@
#! /bin/sh -e
-NAME=asterisk-sounds-fr
-TARGET=/usr/share/asterisk/sounds/fr_FR_Armelle
-
-update-alternatives --remove $NAME $TARGET
-
+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
#DEBHELPER#
More information about the Pkg-voip-commits
mailing list