Bug 56332 - KMail cannot find f-prot.sh because it searchs for f-prot
Bug#: 56332 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: ticho@gentoo.org Reported By: ktecho@gmail.com
Component: Applications
URL: 
Summary: KMail cannot find f-prot.sh because it searchs for f-prot
Keywords:  
Status Whiteboard: 
Opened: 2004-07-07 07:58 0000
Description:   Opened: 2004-07-07 07:58 0000
When the new "spam and virus wizard" of KMail (cvs) tries to search for f-prot,
it fails because we only have f-prot.sh.

Sure KMail can search for that file f-prot.sh, but I think it's our fault
(gentoo), because most programs calls itself "program" and not "program.sh".

Perhaps we must patch it in order to have f-prot.

Thanks.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
KMail cannot find "f-prot" because we use f-prot.sh 

Expected Results:  
KMail (and perhaps other utilities) finding that executable file f-prot.

------- Comment #1 From Caleb Tennis 2004-07-07 13:09:23 0000 -------
this should be assigned to the maintainer of the f-prot package

------- Comment #2 From Henk Poley 2004-08-20 04:06:09 0000 -------
I opened a bug for this at bugs.kde.org:
http://bugs.kde.org/show_bug.cgi?id=87591

They told me to inform the ebuild maintainer. A symlink in /usr/bin/ or adding /opt/f-prot to the path should fix it.

------- Comment #3 From Heiko Baums 2004-09-12 17:47:32 0000 -------
The symlink thing doesn't work. And why adding /opt/f-prot to the path?
Just rename /usr/bin/f-prot.sh to /usr/bin/f-prot and everything is fine.

I don't know anything that says that file names of shell scripts have to end with .sh. And if the binary f-prot and the shell script f-prot are in different directories nothing goes wrong.

------- Comment #4 From Hanno Boeck 2004-11-22 13:00:06 0000 -------
Assigning to the current f-prot-maintainer.

------- Comment #5 From Andrej Kacian (RETIRED) 2004-11-22 23:11:30 0000 -------
I added a symlink /usr/bin/f-prot -> /usr/bin/f-prot.sh. Reopen if KMail still
doesn't work as expected.