[Pkg-voip-commits] r3006 - in asterisk: tags/1.2.14~dfsg-2/debian
trunk/debian
Kilian Krause
kilian at alioth.debian.org
Sat Jan 13 12:40:46 CET 2007
Author: kilian
Date: 2007-01-13 12:40:45 +0100 (Sat, 13 Jan 2007)
New Revision: 3006
Modified:
asterisk/tags/1.2.14~dfsg-2/debian/asterisk_fix
asterisk/trunk/debian/asterisk_fix
Log:
also remove that dir after updating it.
Modified: asterisk/tags/1.2.14~dfsg-2/debian/asterisk_fix
===================================================================
--- asterisk/tags/1.2.14~dfsg-2/debian/asterisk_fix 2007-01-13 11:29:33 UTC (rev 3005)
+++ asterisk/tags/1.2.14~dfsg-2/debian/asterisk_fix 2007-01-13 11:40:45 UTC (rev 3006)
@@ -26,10 +26,12 @@
# Update from /usr/share/asterisk/sounds/priv-callerintros to
# /var/lib/asterisk/sounds/priv-callerintros
if [ -d /usr/share/asterisk/sounds/priv-callerintros ];then
- echo "Updating private callerinfos location to /var/lib/asterisk/sounds/priv-callerintros."
+ echo -n "Updating private callerinfos location to /var/lib/asterisk/sounds/priv-callerintros"
if [ `find /usr/share/asterisk/sounds/priv-callerintros -mindepth 1|wc -l` -gt 0 ];then
mv /usr/share/asterisk/sounds/priv-callerintros/* /var/lib/asterisk/sounds/priv-callerintros
fi
+ rmdir /usr/share/asterisk/sounds/priv-callerintros
+ echo "."
fi
# Make sure all (possibly) used dirs exist and is owned by asterisk
Modified: asterisk/trunk/debian/asterisk_fix
===================================================================
--- asterisk/trunk/debian/asterisk_fix 2007-01-13 11:29:33 UTC (rev 3005)
+++ asterisk/trunk/debian/asterisk_fix 2007-01-13 11:40:45 UTC (rev 3006)
@@ -26,10 +26,12 @@
# Update from /usr/share/asterisk/sounds/priv-callerintros to
# /var/lib/asterisk/sounds/priv-callerintros
if [ -d /usr/share/asterisk/sounds/priv-callerintros ];then
- echo "Updating private callerinfos location to /var/lib/asterisk/sounds/priv-callerintros."
+ echo -n "Updating private callerinfos location to /var/lib/asterisk/sounds/priv-callerintros"
if [ `find /usr/share/asterisk/sounds/priv-callerintros -mindepth 1|wc -l` -gt 0 ];then
mv /usr/share/asterisk/sounds/priv-callerintros/* /var/lib/asterisk/sounds/priv-callerintros
fi
+ rmdir /usr/share/asterisk/sounds/priv-callerintros
+ echo "."
fi
# Make sure all (possibly) used dirs exist and is owned by asterisk
More information about the Pkg-voip-commits
mailing list