tags 367753 +patch thanks On 06/05/18 00:21 +0300, Lars Wirzenius said ... > As of Debian Policy Manual version 3.7.2, the use of invoke-rc.d to > run init.d scripts has been made mandatory. Earlier, its use was
Patch attached to fix this. Giridhar -- Y Giridhar Appaji Nag | http://www.appaji.net/
diff -Nur xpilot-ng-4.7.2/debian/xpilot-ng-server.postinst xpilot-ng-4.7.2.new/debian/xpilot-ng-server.postinst --- xpilot-ng-4.7.2/debian/xpilot-ng-server.postinst 2007-09-12 10:58:36.000000000 +0530 +++ xpilot-ng-4.7.2.new/debian/xpilot-ng-server.postinst 2007-09-12 11:21:51.368801000 +0530 @@ -64,7 +64,11 @@ # we customize the prerm and therefore run dh_installinit --noscripts. if [ -x "/etc/init.d/xpilot-ng-server" ]; then update-rc.d xpilot-ng-server defaults >/dev/null - invoke-rc.d xpilot-ng-server start + if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d xpilot-ng-server start + else + /etc/init.d/xpilot-ng-server start + fi fi #DEBHELPER#
signature.asc
Description: Digital signature