lintian: r1000 - in trunk: checks debian testset/scripts testset/scripts/debian
Author: he
Date: 2007-11-30 10:28:17 +0100 (Fri, 30 Nov 2007)
New Revision: 1000
Added:
trunk/testset/scripts/fish-foo
Modified:
trunk/checks/scripts
trunk/debian/changelog
trunk/testset/scripts/debian/rules
trunk/testset/scripts/debian/scripts.conffiles
Log:
+ [HE] Allow packages to drop snippets into /etc/fish.d/ without
a dependecy on fish. (Closes: #453416)
Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts 2007-11-30 09:23:42 UTC (rev 999)
+++ trunk/checks/scripts 2007-11-30 09:28:17 UTC (rev 1000)
@@ -318,7 +318,8 @@
tag("missing-dep-for-interpreter",
"$base => $deps[0]", "($filename)")
unless (Dep::implies($deps{all}, Dep::parse($interpreter_dependencies{$base})) ||
- ($base eq "csh" && $filename =~ m,^./etc/csh/login.d/,));
+ ($base eq "csh" && $filename =~ m,^./etc/csh/login.d/,) ||
+ ($base eq "fish" && $filename =~ m,^./etc/fish.d/,));
}
} elsif ($base =~ /^python(\d.\d)?$/) {
my $ver = $1 ? $1 : "";
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-11-30 09:23:42 UTC (rev 999)
+++ trunk/debian/changelog 2007-11-30 09:28:17 UTC (rev 1000)
@@ -27,6 +27,8 @@
+ [HE] Allow packages to drop snippets into /etc/csh/login.d
without a dependency on csh. Files there should also
be allowed to have csh in the shebang line. (Closes: #453417)
+ + [HE] Allow packages to drop snippets into /etc/fish.d/ without
+ a dependecy on fish. (Closes: #453416)
* debian/control:
+ [TK] Add Vcs-* fields to point to Lintian's repository.
Modified: trunk/testset/scripts/debian/rules
===================================================================
--- trunk/testset/scripts/debian/rules 2007-11-30 09:23:42 UTC (rev 999)
+++ trunk/testset/scripts/debian/rules 2007-11-30 09:28:17 UTC (rev 1000)
@@ -11,6 +11,7 @@
install -d $(tmp)/etc/X11/Xsession.d/
install -d $(tmp)/etc/init.d/
install -d $(tmp)/etc/csh/login.d/
+ install -d $(tmp)/etc/fish.d/
install -d $(tmp)/usr/share/scripts/
install -d $(tmp)/usr/share/doc/scripts/
install -d $(tmp)/usr/lib/python2.3/site-packages/
@@ -20,6 +21,7 @@
install -m 755 csh-foo $(tmp)/etc/csh/login.d/
install -m 755 envfoo $(tmp)/usr/bin/
+ install -m 755 fish-foo $(tmp)/etc/fish.d/
install -m 755 pyfoo $(tmp)/usr/bin/
install -m 755 py2foo $(tmp)/usr/bin/
install -m 755 perlfoo $(tmp)/usr/bin/
Modified: trunk/testset/scripts/debian/scripts.conffiles
===================================================================
--- trunk/testset/scripts/debian/scripts.conffiles 2007-11-30 09:23:42 UTC (rev 999)
+++ trunk/testset/scripts/debian/scripts.conffiles 2007-11-30 09:28:17 UTC (rev 1000)
@@ -2,3 +2,4 @@
/etc/init.d/no-lsb
/etc/X11/Xsession.d/xsession-test
/etc/csh/login.d/csh-foo
+/etc/fish.d/fish-foo
Added: trunk/testset/scripts/fish-foo
===================================================================
--- trunk/testset/scripts/fish-foo 2007-11-30 09:23:42 UTC (rev 999)
+++ trunk/testset/scripts/fish-foo 2007-11-30 09:28:17 UTC (rev 1000)
@@ -0,0 +1,2 @@
+#! /usr/bin/fish
+
Reply to: