* Added links to the Installer on the Desktop, and the Deskbar's Applications

list when booting from CD. Both are removed from the target in the
  InstallerFinishScript. This closes ticket #4342.
* Make Installer start in safemode as well.
* Are there any objections to always have the Installer link in the Deskbar?
  I see no real reason to leave it out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32686 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-08-26 08:58:26 +00:00
parent 89294b5084
commit 49473fc52e
3 changed files with 20 additions and 19 deletions
+10 -7
View File
@@ -1,19 +1,22 @@
#!/bin/sh
## The installer finish script.
mount=$1
target=$1
if [ -z "$mount" ]; then
echo "Usage: $0 volume"
if [ -z "$target" ]; then
echo "Usage: $0 <volume>"
exit 1
fi
if [ ! -d "$mount" ]; then
echo "$mount isn't mounted"
if [ ! -d "$target" ]; then
echo "$target isn't mounted"
exit 1
fi
mkdir -p "$mount/var/tmp"
mkdir -p "$target/var/tmp"
makebootable "$mount"
# remove Installer links
rm -f $target/home/Desktop/Installer
rm -f $target/home/config/be/Applications/Installer
makebootable "$target"