haiku/data/system/boot/InstallerFinishScript
Stephan Aßmus f594f19bfb Another patch by Jeroen Oortwijn:
It completes the previous patch to the Installer, this time in the Installer
FinishScript, to support making volumes with spaces in their names bootable.
Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-17 15:28:03 +00:00

20 lines
233 B
Bash

#!/bin/sh
## The installer finish script.
mount=$1
if [ -z "$mount" ]; then
echo "Usage: $0 volume"
exit 1
fi
if [ ! -d "$mount" ]; then
echo "$mount isn't mounted"
exit 1
fi
mkdir -p "$mount/var/tmp"
makebootable "$mount"