packagekit/contrib/command-not-found
Dan Nicholson a13d6535a6 cnf: Only search for packages when shell is interactive
If we're inside a script, we can't ask a user to install a package, so
just return with an error. Example:

$ banshee
-bash: banshee: command not found
Install package 'banshee' to provide command 'banshee'? [N/y]
$ bash -c '. /etc/profile.d/PackageKit.sh; banshee'
bash: banshee: command not found

Signed-off-by: Richard Hughes <richard@hughsie.com>
2014-04-05 13:22:04 +02:00
..
CommandNotFound.conf cnf: Add a MaxSearchTime entry in CommandNotFound.conf and default to 2000ms 2010-06-04 12:52:58 +01:00
Makefile.am trivial: Remove three AC_SUBST entries from configure 2013-12-03 19:27:26 +00:00
PackageKit.sh.in cnf: Only search for packages when shell is interactive 2014-04-05 13:22:04 +02:00
pk-command-not-found.c trivial: Coding-style adjustment 2013-01-20 16:30:57 +01:00