mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* debian/postinst, usr/bin/byobu-config, usr/bin/byobu-select-session,
usr/lib/byobu/include/ec2instancespricing.py: LP: #996559 - use env for shebang in development tree - fix this up in the postinst + seems racy -- there's got to better way of handling this???
This commit is contained in:
parent
06b4b8c451
commit
2bf8de5783
5 changed files with 11 additions and 3 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -12,6 +12,11 @@ byobu (5.31) unreleased; urgency=low
|
||||||
- use a smarter algorithm for estimating ec2 cost
|
- use a smarter algorithm for estimating ec2 cost
|
||||||
- include ec2instancespricing.py from
|
- include ec2instancespricing.py from
|
||||||
https://github.com/erans/ec2instancespricing
|
https://github.com/erans/ec2instancespricing
|
||||||
|
* debian/postinst, usr/bin/byobu-config, usr/bin/byobu-select-session,
|
||||||
|
usr/lib/byobu/include/ec2instancespricing.py: LP: #996559
|
||||||
|
- use env for shebang in development tree
|
||||||
|
- fix this up in the postinst
|
||||||
|
+ seems racy -- there's got to better way of handling this???
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 28 Jan 2013 02:21:15 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 28 Jan 2013 02:21:15 -0600
|
||||||
|
|
||||||
|
|
3
debian/postinst
vendored
3
debian/postinst
vendored
|
@ -12,6 +12,9 @@ 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)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# byobu-config
|
# byobu-config
|
||||||
# Copyright (C) 2008 Canonical Ltd.
|
# Copyright (C) 2008 Canonical Ltd.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# byobu-select-session
|
# byobu-select-session
|
||||||
# Copyright (C) 2010 Canonical Ltd.
|
# Copyright (C) 2010 Canonical Ltd.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 Eran Sandler (eran@sandler.co.il), http://eran.sandler.co.il, http://forecastcloudy.net
|
# Copyright (c) 2012 Eran Sandler (eran@sandler.co.il), http://eran.sandler.co.il, http://forecastcloudy.net
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue