[Initscripts-ng-commits] r1027 - /trunk/src/insserv/debian/check-archive-initd-scripts
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Mon Sep 28 21:53:21 UTC 2009
Author: pere
Date: Mon Sep 28 21:53:21 2009
New Revision: 1027
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=1027
Log:
Scripts using awk and which need /usr/.
Modified:
trunk/src/insserv/debian/check-archive-initd-scripts
Modified: trunk/src/insserv/debian/check-archive-initd-scripts
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/check-archive-initd-scripts?rev=1027&op=diff
==============================================================================
--- trunk/src/insserv/debian/check-archive-initd-scripts (original)
+++ trunk/src/insserv/debian/check-archive-initd-scripts Mon Sep 28 21:53:21 2009
@@ -188,6 +188,10 @@
s/\#.*$//; # Remove comments
$lsbinfo{'need_remove_fs'} = 1 if m%/usr/s?bin/%;
$lsbinfo{'need_local_fs'} = 1 if m%/var/%;
+
+ # Detect the use of tools resting in /usr/
+ $lsbinfo{'need_remove_fs'} = 1 if m%awk%;
+ $lsbinfo{'need_remove_fs'} = 1 if m%which%;
}
close(INIT);
More information about the Initscripts-ng-commits
mailing list