]> git.pld-linux.org Git - packages/binfmt-detector.git/blame - libdir.patch
- drop upstart support
[packages/binfmt-detector.git] / libdir.patch
CommitLineData
2d9e1c19
ER
1--- binfmt-detector/binfmt-detector.sh~ 2007-05-06 13:41:34.000000000 +0300
2+++ binfmt-detector/binfmt-detector.sh 2009-11-22 11:28:37.838632670 +0200
3@@ -1,15 +1,13 @@
4 #!/bin/sh
5
6-if [ ! -f "$1" ]
7-then
8- echo "$1: no such file" >&2
9+if [ ! -f "$1" ]; then
10+ echo >&2 "$1: No such file"
11 exit 1
12 fi
13
14-/usr/bin/binfmt-detector-cli "$1"
15+/usr/lib/binfmt-detector "$1"
16
17-if [ $? -eq 0 ]
18-then
19+if [ $? -eq 0 ]; then
20 exec /usr/bin/mono "$@"
21 else
22 exec /usr/bin/wine "$@"
This page took 0.041648 seconds and 4 git commands to generate.