The rest of Yann E. Morin's install revamp.

This commit is contained in:
Rob Landley
2005-12-15 07:25:54 +00:00
parent 164c5c80ba
commit e0c418e13b
3 changed files with 47 additions and 5 deletions

View File

@@ -8,12 +8,13 @@ if [ "$prefix" = "" ]; then
echo "No installation directory, aborting."
exit 1;
fi
if [ "$2" = "--hardlinks" ]; then
linkopts="-f"
else
linkopts="-fs"
fi
h=`sort busybox.links | uniq`
case "$2" in
--hardlinks) linkopts="-f";;
--symlinks) linkopts="-fs";;
"") h="";;
*) echo "Unknown install option: $2"; exit 1;;
esac
rm -f $prefix/bin/busybox || exit 1