diff options
Diffstat (limited to 'applets')
-rwxr-xr-x | applets/install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/install.sh b/applets/install.sh index 4c2a4f1b8..458e65ce9 100755 --- a/applets/install.sh +++ b/applets/install.sh | |||
@@ -12,11 +12,11 @@ h=`sort busybox.links | uniq` | |||
12 | for i in $h ; do | 12 | for i in $h ; do |
13 | mypath=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\1/g' `; | 13 | mypath=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\1/g' `; |
14 | myapp=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\2/g' `; | 14 | myapp=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\2/g' `; |
15 | mkdir -p $1$mypath | ||
16 | echo " $1$mypath$myapp -> /bin/busybox" | 15 | echo " $1$mypath$myapp -> /bin/busybox" |
17 | (cd $1$mypath ; rm -f $1$mypath$myapp ; ln -s /bin/busybox $1$mypath$myapp ) | 16 | mkdir -p $1$mypath |
17 | (cd $1$mypath && rm -f $1$mypath$myapp && ln -s /bin/busybox $1$mypath$myapp ) | ||
18 | done | 18 | done |
19 | rm -f $1/bin/busybox | 19 | rm -f $1/bin/busybox |
20 | install -m 755 busybox $1/bin/busybox | 20 | install -m 755 busybox $1/bin/busybox |
21 | 21 | ||
22 | 22 | exit 0 | |