summaryrefslogtreecommitdiff
path: root/packages/busybox/slingbox-1.1.3/slingbox.patch
blob: 3759723bced5373f2cc809144f5fd5079dd5f027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- slingbox/applets/install.sh.orig	2006-05-14 18:08:17.000000000 -0500
+++ slingbox/applets/install.sh	2006-05-14 18:10:40.000000000 -0500
@@ -33,28 +33,28 @@
 		fi
 	done
 fi
-rm -f $prefix/bin/busybox || exit 1
+rm -f $prefix/bin/slingbox || exit 1
 mkdir -p $prefix/bin || exit 1
-install -m 755 busybox $prefix/bin/busybox || exit 1
+install -m 755 busybox $prefix/bin/slingbox || exit 1
 
 for i in $h ; do
 	appdir=`dirname $i`
 	mkdir -p $prefix/$appdir || exit 1
 	if [ "$2" = "--hardlinks" ]; then
-	    bb_path="$prefix/bin/busybox"
+	    bb_path="$prefix/bin/slingbox"
 	else
 	    case "$appdir" in
 		/)
-		    bb_path="bin/busybox"
+		    bb_path="bin/slingbox"
 		;;
 		/bin)
-		    bb_path="busybox"
+		    bb_path="slingbox"
 		;;
 		/sbin)
-		    bb_path="../bin/busybox"
+		    bb_path="../bin/slingbox"
 		;;
 		/usr/bin|/usr/sbin)
-		    bb_path="../../bin/busybox"
+		    bb_path="../../bin/slingbox"
 		;;
 		*)
 		echo "Unknown installation directory: $appdir"