Y
Hacker News
new
|
ask
|
show
|
jobs
by
jzwinck
1767 days ago
Instead of a symlink to true you could have made an empty script.
2 comments
michaelt
1767 days ago
And violate AT&T's copyright? Perish the thought!
link
viseztrance
1767 days ago
Well the symlink command was also easier to share with others having the same issue, whereas a one liner that creates an executable script which returns 0 is less ideal.
link
cmeacham98
1767 days ago
An empty script returns 0 by default, thus `touch /path/to/missing/library` is a sufficient (and shorter!) one-liner fix to this problem.
link
viseztrance
1767 days ago
I know, but you still have to make it executable, hence it's not as convenient.
And on top of this, an unlink is less error prone than a rm -f.
link