diff options
author | Mike Westerhof <mwester@dls.net> | 2006-11-05 15:07:21 +0000 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2006-11-05 15:07:21 +0000 |
commit | d363cfd0948774890a159617d60e61f0285c4f1d (patch) | |
tree | 8b649366df8015d74559c8b9d459132dda1f42d4 /packages/busybox/slingbox-1.2.2/slingbox.patch | |
parent | f118e621d234318bbe6cb2c1409a072a2d012061 (diff) |
Unslung: slingbox: upgrade slingbox to busybox 1.2.2
Diffstat (limited to 'packages/busybox/slingbox-1.2.2/slingbox.patch')
-rw-r--r-- | packages/busybox/slingbox-1.2.2/slingbox.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/packages/busybox/slingbox-1.2.2/slingbox.patch b/packages/busybox/slingbox-1.2.2/slingbox.patch new file mode 100644 index 0000000000..15f21ed4d0 --- /dev/null +++ b/packages/busybox/slingbox-1.2.2/slingbox.patch @@ -0,0 +1,49 @@ +--- slingbox/applets/install.sh.orig 2006-11-04 18:08:47.000000000 -0600 ++++ slingbox/applets/install.sh 2006-11-04 18:11:46.000000000 -0600 +@@ -39,8 +39,8 @@ + done + fi + +-if [ "$cleanup" = "1" ] && [ -e "$prefix/bin/busybox" ]; then +- inode=`ls -i "$prefix/bin/busybox" | awk '{print $1}'` ++if [ "$cleanup" = "1" ] && [ -e "$prefix/bin/slingbox" ]; then ++ inode=`ls -i "$prefix/bin/slingbox" | awk '{print $1}'` + sub_shell_it=` + cd "$prefix" + for d in usr/sbin usr/bin sbin bin ; do +@@ -54,28 +54,28 @@ + ` + 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" |