aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/install.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/applets/install.sh b/applets/install.sh
index d163a2ef8..2fcd2ae6e 100755
--- a/applets/install.sh
+++ b/applets/install.sh
@@ -8,12 +8,13 @@ if [ "$prefix" = "" ]; then
8 echo "No installation directory, aborting." 8 echo "No installation directory, aborting."
9 exit 1; 9 exit 1;
10fi 10fi
11if [ "$2" = "--hardlinks" ]; then
12 linkopts="-f"
13else
14 linkopts="-fs"
15fi
16h=`sort busybox.links | uniq` 11h=`sort busybox.links | uniq`
12case "$2" in
13 --hardlinks) linkopts="-f";;
14 --symlinks) linkopts="-fs";;
15 "") h="";;
16 *) echo "Unknown install option: $2"; exit 1;;
17esac
17 18
18 19
19rm -f $prefix/bin/busybox || exit 1 20rm -f $prefix/bin/busybox || exit 1