haiku/data/system/boot/InstallerFinishScript
Stephan Aßmus bf81407606 * Removed Installer back into Deskbar menu by popular request.
* 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
2009-09-08 09:58:51 +00:00

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"