[Cdd-commits] r1308 - in blends/trunk/blends: debian templates
CDD Subversion Commit
noreply at alioth.debian.org
Tue Jan 6 18:54:54 UTC 2009
Author: tille
Date: Tue Jan 6 18:54:54 2009
New Revision: 1308
Modified:
blends/trunk/blends/debian/changelog
blends/trunk/blends/templates/postinst
blends/trunk/blends/templates/postrm
Log:
Do not use explicite path in post{rm,inst} (Debian Policy Manual section 6.1)
Modified: blends/trunk/blends/debian/changelog
==============================================================================
--- blends/trunk/blends/debian/changelog (original)
+++ blends/trunk/blends/debian/changelog Tue Jan 6 18:54:54 2009
@@ -2,6 +2,10 @@
* Add sources.list.experimental
* debian/rules: variable for package name
+ * Remove explicite path /usr/sbin/ from blend-update-menus in
+ templates/post{inst,rm} because lintian warns about it in the
+ Blend metapackages according to Debian Policy Manual section
+ 6.1.
-- Andreas Tille <tille at debian.org> Tue, 06 Jan 2009 12:21:30 +0100
Modified: blends/trunk/blends/templates/postinst
==============================================================================
--- blends/trunk/blends/templates/postinst (original)
+++ blends/trunk/blends/templates/postinst Tue Jan 6 18:54:54 2009
@@ -16,7 +16,7 @@
# Also verify that this Blend provides special configuration
# If not there is no need to execute the user menu code
if [ -d /etc/blends/#BLEND# -a -f /etc/blends/#BLEND#/#BLEND#.conf ] ; then
- test -x /usr/sbin/blend-update-menus && /usr/sbin/blend-update-menus --blend #BLEND#
+ test -x /usr/sbin/blend-update-menus && blend-update-menus --blend #BLEND#
# Initialize debconf if not yet done
if [ _"$DEBCONF_REDIR" = _"" ]; then
@@ -34,7 +34,7 @@
db_get "shared/#BLEND#-config/usermenus" || true
case "$RET" in
"Each package installation")
- /usr/sbin/blend-update-usermenus #BLEND#
+ blend-update-usermenus #BLEND#
;;
"End of installation")
touch /var/run/#BLEND#-config.usermenu
Modified: blends/trunk/blends/templates/postrm
==============================================================================
--- blends/trunk/blends/templates/postrm (original)
+++ blends/trunk/blends/templates/postrm Tue Jan 6 18:54:54 2009
@@ -17,7 +17,7 @@
# If not there is no need to execute the user menu code
if [ -d /etc/blends/#BLEND# -a -f /etc/blends/#BLEND#/#BLEND#.conf ] ; then
- test -x /usr/sbin/blend-update-menus && /usr/sbin/blend-update-menus --blend #BLEND#
+ test -x /usr/sbin/blend-update-menus && blend-update-menus --blend #BLEND#
test -s /etc/blends/blends.conf && . /etc/blends/blends.conf
test -s /etc/blends/#BLEND#/#BLEND#.conf && . /etc/blends/#BLEND#/#BLEND#.conf
@@ -39,7 +39,7 @@
db_get "shared/#BLEND#-config/usermenus" || true
case "$RET" in
"Each package installation")
- /usr/sbin/blend-update-usermenus #BLEND#
+ blend-update-usermenus #BLEND#
;;
"End of installation")
touch /var/run/#BLEND#-config.usermenu
More information about the Cdd-commits
mailing list