projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b7005
)
https://sourceforge.net/tracker/index.php?func=detail&aid=3403857&group_id=17457...
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 5 Sep 2011 02:10:02 +0000
(19:10 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 5 Sep 2011 02:10:02 +0000
(19:10 -0700)
Fall back if insserv doesn't work
makedebian.pl
patch
|
blob
|
history
diff --git
a/makedebian.pl
b/makedebian.pl
index
a04705a
..
c4502a9
100755
(executable)
--- a/
makedebian.pl
+++ b/
makedebian.pl
@@
-313,7
+313,7
@@
if [ "$inetd" != "1" ]; then
fi
fi
if [ "$product" = "usermin" ]; then
-
insserv $baseproduct
>/dev/null 2>&1
+
(insserv $baseproduct || update-rc.d $baseproduct defaults)
>/dev/null 2>&1
fi
cat >/etc/$baseproduct/uninstall.sh <<EOFF
#!/bin/sh