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

Bug#309203: script-not-executable warning spurious for Xsession.d scripts



Package: lintian
Severity: wishlist
Tags: patch

I have a package that contains an Xsession.d script, as this is a bash 
script it starts with an approriate shebang line. 
The script is never executed directly, it is always sourced by 
the /etc/Xsession script, hence it's not marked as executable

However lintian shows the following warning: 
script-not-executable ./etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles

The Xsession.d scripts included by xfree86-common 'solve' this by ommiting 
the shebang line. which I think is not a good solution (as it you then fail 
to document which scripting language it is written in). 
--
Cheers, cobaco

/"\  ASCII Ribbon Campaign
\ /  No proprietary formats in attachments without request
 X   i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \  Respect Open Standards
      http://www.fsf.org/philosophy/no-word-attachments.html
      http://www.goldmark.org/netrants/no-word/attach.html






234c234,235
< 		$filename =~ m,etc/menu-methods,);
---
> 		$filename =~ m,etc/menu-methods, or
> 		$filename =~ m,etc/X11/Xsession.d,);

Attachment: pgphhKX7_qwnA.pgp
Description: PGP signature


Reply to: