usr/bin/byobu-launcher: profile.d is sourced, not executed

This commit is contained in:
Dustin Kirkland 2010-02-05 09:15:45 -08:00
commit 2adc799c0c
2 changed files with 4 additions and 6 deletions

2
debian/changelog vendored
View file

@ -1,6 +1,6 @@
byobu (2.54) unreleased; urgency=low
* UNRELEASED
* usr/bin/byobu-launcher: profile.d is sourced, not executed
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 05 Feb 2010 01:17:41 -0800

View file

@ -17,8 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PKG="byobu"
[ -r "$HOME/.$PKG/disable-autolaunch" ] && exit 0
exec /usr/bin/$PKG
if [ ! -r "$HOME/.byobu/disable-autolaunch" ]; then
exec /usr/bin/byobu
fi