haiku/data/system/boot/InstallerFinishScript

23 lines
355 B
Plaintext
Raw Normal View History

#!/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 links
rm -f $target/home/Desktop/Installer
rm -f $target/home/config/be/Applications/Installer
makebootable "$target"