Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add post install message for user actions on Debian #254

Closed
wting opened this issue Jan 15, 2014 · 1 comment
Closed

Add post install message for user actions on Debian #254

wting opened this issue Jan 15, 2014 · 1 comment

Comments

@wting
Copy link
Owner

wting commented Jan 15, 2014

@tortolo: Is it possible for you to add a post installation message asking users to add source /usr/share/autojump/autojump.sh to their ~/.bashrc (or shell rc file). This issue seems to come up time and time again: #65.

I can add an install.py --post-install-msg to make this easier in the future, as well as check for missing environment variables if autojump is run without being sourced. Hopefully this will help some confused future users.

@tortolo
Copy link

tortolo commented Jan 15, 2014

William Ting, 2014-01-15 14:13-0800:

@tortolo: Is it possible for you to add a post installation message asking users to add source /usr/share/autojump/autojump.sh to their ~/.bashrc (or shell rc file). This issue seems to come up time and time again: #65.

Yes, I could, but the problem is I really doubt they would see and read
one message in the whole package installation output. I mean, if a user
does not even think of reading autojump's manpage (which I patched to
indicate it has to be sourced) or the package's README.Debian (standard
main information file for any Debian package), or to report such a bug
to Debian rather than to autojump, I do not see how he could pay any
attention to installation messages…

I could add a debconf screen for that, which is modal and cannot be
missed, but that would probably be an abuse of debconf which is made for
configuring packages, not for displaying information. And it would have
to be a low priority debconf screen not to block automated
installations, so it would not be displayed on systems configured to
ignore low priority debconf screens, which is usually the case for those
people.

Now, I think there is one thing that may be more useful: create and
install a script named /usr/bin/j, that just indicates what has to be
done to load autojump for Bash or Zsh.

,--.
: /) Tanguy Ortolo <xmpp:tanguy@ortolo.eu> |-' Debian Developer irc://irc.oftc.net/Tanguy
_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants