[Pkg-voip-commits] r8208 - /asterisk/trunk/debian/asterisk-sounds-main.postinst

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Mon Mar 15 10:50:59 UTC 2010


Author: tzafrir-guest
Date: Mon Mar 15 10:50:59 2010
New Revision: 8208

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8208
Log:
note to self: this is shell and not C

Modified:
    asterisk/trunk/debian/asterisk-sounds-main.postinst

Modified: asterisk/trunk/debian/asterisk-sounds-main.postinst
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/asterisk-sounds-main.postinst?rev=8208&op=diff
==============================================================================
--- asterisk/trunk/debian/asterisk-sounds-main.postinst (original)
+++ asterisk/trunk/debian/asterisk-sounds-main.postinst Mon Mar 15 10:50:59 2010
@@ -25,9 +25,9 @@
 	    # FIXME: what if there's a link elsewhere?
 	    echo "Directory $SYMLINK already exists. Please remove it"
 	    echo "When done, run: dpkg-reconfigure $PACKAGE"
-	    break
+	else
+	    update-alternatives --install $SYMLINK $NAME $TARGET 50
 	fi
-	update-alternatives --install $SYMLINK $NAME $TARGET 50
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)




More information about the Pkg-voip-commits mailing list