script fragments.
if [ "$1" = "configure" ]; then
- /usr/sbin/gconf-schemas --register #SCHEMAS#
+ gconf-schemas --register #SCHEMAS#
fi
-if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then
+if [ "$1" = "configure" ] && [ -x "`which update-modules 2>/dev/null`" ]; then
update-modules >/dev/null || [ "$?" = 3 ]
fi
-if [ -x /sbin/update-modules ]; then
+if [ -x "`which update-modules 2>/dev/null`" ]; then
update-modules >/dev/null || [ "$?" = 3 ]
fi
if [ "$1" = remove ] || [ "$1" = upgrade ]; then
- /usr/sbin/gconf-schemas --unregister #SCHEMAS#
+ gconf-schemas --unregister #SCHEMAS#
fi
+debhelper (5.0.4) UNRELEASED; urgency=low
+
+ * Remove hardcoded pathc to update-modules and gconf-schemas in various
+ script fragments.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 8 Nov 2005 16:02:09 -0500
+
debhelper (5.0.3) unstable; urgency=low
* Remove dh_shlibs from binary-indep section of debian/rules.