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

Fix command-not-found handler for Suse and Fedora #1280

wants to merge 2 commits into from


Copy link

@Gonzih Gonzih commented Feb 2, 2014

fixes #1208

if test -f /usr/lib/command-not-found
# First check if we are on OpenSUSE since SUSE's handler has no options
# and expects first argument to be a command and second database
if test -f /etc/SuSE-release

This comment has been minimized.


zanchey Feb 2, 2014

I suggest if begin; test -f /etc/SuSE-release; and test -f /usr/bin/command-not-found; end (path may need checking).

This comment has been minimized.


Gonzih Feb 2, 2014
Author Contributor

Done. Not sure that this is necessary since suse have it always preinstalled, but ok lets keep this.

This comment has been minimized.


zanchey Feb 2, 2014

Yikes, sorry, I should have made this type -p command-not-found. I'll do that in the merge.

Copy link

@zanchey zanchey commented Feb 2, 2014

Merged with squash here:
a1b43b7..27b6fe6 master -> master

@zanchey zanchey closed this Feb 2, 2014
@ghost ghost assigned zanchey Feb 2, 2014
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.