I see it has been fixed in later versions (e.g. on Zesty):

uwsgi-2.0.14+20170111/debian$ grep BINARY_IS_UWSGI_ALTERNATIVE= -A3 
uwsgi-plugin-__PLUGIN__.postinst.in*
uwsgi-plugin-__PLUGIN__.postinst.in.pri:      BINARY_IS_UWSGI_ALTERNATIVE="$(\
uwsgi-plugin-__PLUGIN__.postinst.in.pri-        update-alternatives --list 
uwsgi 2>/dev/null \
uwsgi-plugin-__PLUGIN__.postinst.in.pri-        | grep -c 
'/uwsgi_@@plugin_alternatives_stem@@$' || true \
uwsgi-plugin-__PLUGIN__.postinst.in.pri-      )"
--
uwsgi-plugin-__PLUGIN__.postinst.in.pri-py:      
BINARY_IS_UWSGI_ALTERNATIVE="$(\
uwsgi-plugin-__PLUGIN__.postinst.in.pri-py-        update-alternatives --list 
uwsgi 2>/dev/null \
uwsgi-plugin-__PLUGIN__.postinst.in.pri-py-        | grep -c 
'/uwsgi_@@plugin_alternatives_stem@@$' || true \
uwsgi-plugin-__PLUGIN__.postinst.in.pri-py-      )"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664481

Title:
  incorrect postinstall script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1664481/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to