bf81407606
* Changed the Bootscript and the InstallerFinishScript to only create and cleanup a link on the Desktop. * Applied patch by idefix to fix removing the Installer link from volumes that contain spaces in the name. (Thanks!) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32995 a95241bf-73f2-0310-859d-f6bbb57e9c96
22 lines
304 B
Bash
22 lines
304 B
Bash
#!/bin/sh
|
|
## The installer finish script.
|
|
|
|
target=$1
|
|
|
|
if [ -z "$target" ]; then
|
|
echo "Usage: $0 <volume>"
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -d "$target" ]; then
|
|
echo "$target isn't mounted"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir -p "$target/var/tmp"
|
|
|
|
# remove Installer link
|
|
rm -f "$target/home/Desktop/Installer"
|
|
|
|
makebootable "$target"
|