Indeed `dpkg -c ../nsscache_0.49-3_all.deb | grep bin` shows there's a
symlink being installed from `/usr/sbin/nsscache` to `/usr/bin/nscache`.

There's no special logic in the upstream to do this.

Ah, this comes from the debhelper `dh_link`:

```
   dh_link -O--buildsystem=pybuild
install -m0755 -d debian/nsscache/usr/sbin
rm -f debian/nsscache/usr/sbin/nsscache
ln -s ../bin/nsscache debian/nsscache/usr/sbin/nsscache
```

... which is being performed because of debian/links.  So I did this on
purpose a while back, I can't remember why, but I guess because upstream
was installed to /usr/sbin and I couldn't figure out how to tell pybuild to
install to /usr/sbin.

Reply via email to