Bug 102365 - f-prot updater has the wrong binary path after emerge.
Bug#: 102365 Product:  Gentoo Linux Version: 2005.1 Platform: All
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: f-prot updater has the wrong binary path after emerge.
Keywords:  
Status Whiteboard: 
Opened: 2005-08-13 06:47 0000
Description:   Opened: 2005-08-13 06:47 0000
After you emerge f-prot, it says: 
 
 * Remember to run /opt/f-prot/check-updates.pl regularly to keep virus 
(BLA BLA BLA BLA) 
 
but it's not correct. It should be /opt/f-prot/tools/check-updates.pl 
 
Only a typo, but better if it's fixed 
 
;)

------- Comment #1 From Andrej Kacian (RETIRED) 2005-08-13 10:01:37 0000 -------
Gah, I'm blind. Fixed, thanks!

------- Comment #2 From teidakankan@gmail.com 2005-08-14 14:38:06 0000 -------
Sorry to jump in here after this is closed but I'm getting this error message
when trying to run /opt/f-prot/tools/check-updates.pl:

~ # /opt/f-prot/tools/check-updates.pl
***************************************
* F-Prot Antivirus Updater            *
***************************************

There's a new version of:
"Document/Office/Macro viruses" signatures on the web.
Starting to download...
Download completed.

There's a new version of:
"Application/Script viruses and Trojans" signatures on the web.
Starting to download...
Download completed.

Preparing to install Application/Script viruses and Trojans signatures.
mv: when moving multiple files, last argument must be a directory
Try `mv --help' for more information.
Error while trying to replace old signature files.
Fatal error.    Exiting... at /opt/f-prot/tools/check-updates.pl line 442.

I can open a separate bug if you like.

------- Comment #3 From Andrej Kacian (RETIRED) 2005-08-14 17:42:43 0000 -------
Hm yes, upstream is using a really weird way to determine where should
signature
files go - it takes /etc/f-prot.conf, and if it's a symlink, signature files
are
copied into the directory where that file's target is in, otherwise into
/usr/local/f-prot. I guess I'll make f-prot.conf install into /opt/f-prot, and
make a symlink in /etc. Thanks for letting me know.