Is there a debian/ubuntu policy on softlinking things to another location in opt once they're installed?
Posted
by
AbrahamVanHelpsing
on Ask Ubuntu
See other posts from Ask Ubuntu
or by AbrahamVanHelpsing
Published on 2012-12-02T23:21:08Z
Indexed on
2012/12/02
23:25 UTC
Read the original article
Hit count: 230
Is there a debian/ubuntu policy on softlinking things to another location in opt once they're installed properly in usr/share or usr/lib?
Here's a simple example:
Packaging up dnsenum. It's a REALLY simple package (4 files).
A perl script, two wordlists, and a readme.
So from what I gather:
The wordlists should go in usr/share/dnsenum/*
The perl script itself would go in usr/lib/dnsenum/
The readme would go in usr/share/doc/dnsenum/
Add a wrapper bash script that goes in bin and just passes arguments to dnsenum.pl.
The question is this:
If there are various tools that provide wordlists or some other shared resource, is there a policy on linking all the wordlists from different packages in to /opt/wordlists/ ?
It seems like the "right" thing to do respecting the directory structure while still making things convenient.
© Ask Ubuntu or respective owner