Re: dh_python2 and private directories
[Barry Warsaw, 2011-07-28]
> >> -----snip snip-----
> >> #! /bin/sh
> >> set -e
> >> if [ "$1" = rtupdate ]; then
> >> pyclean /usr/share/ibus-table
> >> pycompile /usr/share/ibus-table
> >> fi
> >> if [ "$1" = rtupdate ]; then
> >> pyclean /usr/share/ibus-table/engine
> >> pycompile /usr/share/ibus-table/engine
> >> fi
> >> -----snip snip-----
> >>
> >> Now, there's nothing wrong with this, but the first stanza is unnecessary.
> >> The only .py files laid down by the package are in
> >> /usr/share/ibus-table/engine, so only the second stanza does anything useful.
> >> The first doesn't hurt but it's unnecessary, afaict.
> >
> >doesn't dh_python2 alone do the right thing?
>
> I think not. With just
>
> dh_python2
>
> I get the first stanza but not the second one.
sure, but does it compile files in engine as well? It should
--
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
Reply to: