File debian.python-setuptools.postinst of Package python-setuptools

#!/bin/sh
set -e

for FILE in $(ls /usr/bin/easy_install-2*); do
    SRC=${FILE%-*}
    NAME=${SRC##*/}
    PRIORITY=2${FILE##*-2.}
    update-alternatives --install $SRC $NAME $FILE $PRIORITY
done

#DEBHELPER#

exit 0
openSUSE Build Service is sponsored by