Files
haiku-beta6/data/system/boot/InstallerFinishScript
T

22 lines
313 B
Bash
Raw Normal View History

#!/bin/sh
## The installer finish script.
target=$1
2008-03-29 15:40:49 +00:00
if [ -z "$target" ]; then
echo "Usage: $0 <volume>"
2008-03-29 15:40:49 +00:00
exit 1
fi
if [ ! -d "$target" ]; then
echo "$target isn't mounted"
2008-03-29 15:40:49 +00:00
exit 1
fi
2013-09-29 22:09:00 +02:00
mkdir -p "$target/system/cache/tmp"
2008-03-29 15:40:49 +00:00
# remove Installer link
rm -f "$target/home/Desktop/Installer"
makebootable "$target"