#1156 closed bug (fixed)
/bin/updatedb broken
Reported by: | elmo | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Command Line Tools | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
First of all, it didn't have executable bit set, so I had to run it manually with "sh /bin/updatedb". Then, it's apparently missing some component.
updatedb: line 105: frcode: command not found updatedb: new database would be empty
And the relevant line of updatedb is } | sort -f | $frcode > $LOCATE_DB.n
The definition of $frcode is on line 83: : ${frcode=frcode}
find / -name frcode doesn't give any results.
About Haiku says that the revision number is 20683.
Change History (4)
follow-up: 4 comment:1 by , 18 years ago
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in hrev20699 a clean build could be needed
comment:3 by , 18 years ago
Strange, but i get null sized updatedb file now, using image form haikuhost.com. Also StyledEdit can't open this file (Bad argument type passed to function)
comment:4 by , 18 years ago
Replying to axeld:
The easiest solution would be to remove it altogether. Since it doesn't have any value in Haiku, I don't really think why we should include it anyway (besides that it seems to have been part of BeOS).
I'm all for removing unnecessary legacy stuff. Especially, if it's the easiest way to fix a bug. :)
The easiest solution would be to remove it altogether. Since it doesn't have any value in Haiku, I don't really think why we should include it anyway (besides that it seems to have been part of BeOS).