* debian/postinst: LP: #1174537

- drop the env python changes in the postinst
This commit is contained in:
Dustin Kirkland 2013-05-08 12:53:20 -05:00
commit e64cbe88cc
2 changed files with 2 additions and 3 deletions

2
debian/changelog vendored
View file

@ -2,6 +2,8 @@ byobu (5.40) unreleased; urgency=low
* usr/share/byobu/profiles/tmux: LP: #1177728 * usr/share/byobu/profiles/tmux: LP: #1177728
- use byobu's tmux-screen-keys.conf - use byobu's tmux-screen-keys.conf
* debian/postinst: LP: #1174537
- drop the env python changes in the postinst
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 07 May 2013 22:01:40 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 07 May 2013 22:01:40 -0500

3
debian/postinst vendored
View file

@ -12,9 +12,6 @@ else
rm -f /etc/profile.d/Z98-$PKG.sh rm -f /etc/profile.d/Z98-$PKG.sh
fi fi
# Replace the development tree's "/usr/bin/env python" shebang
sed -i -e "s:^#!/usr/bin/env python:#!/usr/bin/python:" /usr/bin/byobu-config /usr/bin/byobu-select-session /usr/lib/byobu/include/ec2instancespricing.py
# Clean up any old-school screen-profiles diversions of /usr/bin/screen # Clean up any old-school screen-profiles diversions of /usr/bin/screen
if [ -f /usr/bin/screen ] && [ -f /usr/bin/screen.real ]; then if [ -f /usr/bin/screen ] && [ -f /usr/bin/screen.real ]; then
divertpkg=$(dpkg-divert --listpackage /usr/bin/screen || true) divertpkg=$(dpkg-divert --listpackage /usr/bin/screen || true)