haiku/data/system/boot/InstallerFinishScript
Ingo Weinhold f73f5d4c42 Initial changes to remove /boot/common
* find_directory() and hard-coded paths use /boot/system instead of
  /boot/common.
* The build system creates the writable directories in /boot/system
  instead of /boot/common.
* The build system no longer installs any packages in /boot/common.
2013-10-03 21:52:25 +02:00

22 lines
313 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/system/cache/tmp"
# remove Installer link
rm -f "$target/home/Desktop/Installer"
makebootable "$target"