source: pkg/boss/main/virtualbox-ose/trunk/debian/patches/07-init-fail.dpatch @ 4744

Revision 4744, 709 bytes checked in by alanbach-guest, 6 years ago (diff)
  • Added virtualbox-ose 2.0 to BOSS
Line 
1#!/bin/sh /usr/share/dpatch/dpatch-run
2## 07-init-fail.dpatch by Michael Meskes <meskes@debian.org>
3##
4## DP: Fix some failures in init script.
5
6@DPATCH@
7
8diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in virtualbox-ose-1.6.0-dfsg/src/VBox/Installer/linux/vboxnet.sh.in
9--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in       2008-04-30 14:05:52.000000000 +0000
10+++ virtualbox-ose-1.6.0-dfsg/src/VBox/Installer/linux/vboxnet.sh.in    2008-05-09 09:28:11.000000000 +0000
11@@ -49,6 +49,7 @@ fi
12 if [ -z "$NOLSB" ]; then
13     . /lib/lsb/init-functions
14     fail_msg() {
15+        [ -f "$VARFILE" ] && rm $VARFILE
16         echo ""
17         log_failure_msg "$1"
18     }
Note: See TracBrowser for help on using the repository browser.