[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash script in /usr/games



Andrey Rahmatullin writes:

> On Wed, Aug 07, 2013 at 08:50:04PM +1000, Steven Hamilton wrote:
>> >> then change the tmpdir using the following;
>> >> 
>> >> 	dh $@ -Pdebian/mrrescue_build
>> > Why did you do this?
>> 
>> Because the default for the tmpdir is "debian/<package>" and my package
>> is called "mrrescue". When I renamed my shell script to mrrescue it got
>> splattered by debuild.
> You could rename it at the build time.

Love games aren't built. The source is a single .love file (zipped file
of code and assets) which is run against the love interpreter. The bash
script to launch it is written by myself and kept in the debian dir.

>> >> However, now I get lintian warnings on init.d
>> >> 
>> >> W: mrrescue: init.d-script-missing-lsb-section etc/init.d/mrrescue
>> >> E: mrrescue: init.d-script-does-not-implement-required-option
>> >> etc/init.d/mrrescue start
>> >> E: mrrescue: init.d-script-does-not-implement-required-option
>> >> etc/init.d/mrrescue stop
>> >> E: mrrescue: init.d-script-does-not-implement-required-option
>> >> etc/init.d/mrrescue restart
>> >> E: mrrescue: init.d-script-does-not-implement-required-option
>> >> etc/init.d/mrrescue force-reload
>> >> W: mrrescue: binary-without-manpage usr/games/mrrescue
>> >> W: mrrescue: init.d-script-does-not-source-init-functions
>> >> etc/init.d/mrrescue
>> >> 
>> >> Is debhelper incorrectly assuming that my bash script is intended for
>> >> init.d? If so, how do I stop it.
>> > If you mean that etc/init.d/mrrescue is not an initscript don't install it
>> > there.
>> 
>> I'm not. I'm installing it in /usr/games but for some reason it's
>> automatically being assumed it's an init script by something.
> I don't think so. Can you publish the package somewhere?

Mibbe. :)

> -- 
> WBR, wRAR


-- 
Steven Hamilton
I don't look like two zombies


Reply to: