FS#22844 - [pkgtools] command_not_found_handle doesn't work when logon to Gnome

Attached to Project: Community Packages
Opened by Stanislav GE (giner) - Thursday, 10 February 2011, 19:06 GMT
Last edited by Gavin Bisesi (Daenyth) - Saturday, 12 February 2011, 16:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
pkgtools: command_not_found_handle doesn't work when logon to Gnome. If I logon by ssh or console then it works.

Additional info:
pkgtools 22-1

Workaround:
echo 'export -f command_not_found_handle' | sudo tee -a /usr/share/pkgtools/pkgfile-hook.bash
This task depends upon

Closed by  Gavin Bisesi (Daenyth)
Saturday, 12 February 2011, 16:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  git:7bed14e
Comment by Gavin Bisesi (Daenyth) - Saturday, 12 February 2011, 14:57 GMT
I don't have a gnome system at the moment, so can you clarify: Adding the "export -f" line to pkgfile-hook.bash solves the issue?
Comment by Stanislav GE (giner) - Saturday, 12 February 2011, 15:59 GMT
I'm not sure this is the best way to solve but yes it really works after adding this to hook.

Loading...