Skip to content

Commit

Permalink
Symlink Installer to the Desktop only on read-only medium.
Browse files Browse the repository at this point in the history
Fixes part of #9399
  • Loading branch information
mmadia committed Jan 23, 2013
1 parent 6f141e0 commit 8500490
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/system/boot/Bootscript
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ fi
# Now ask the user if he wants to run the Installer or continue to the Desktop.
freshInstallIndicator=/boot/common/settings/fresh_install
if [ "$isReadOnly" = "yes" -o -e $freshInstallIndicator ]; then
# Create Installer link (using the write overlay)
ln -sf /boot/system/apps/Installer /boot/home/Desktop/Installer

/bin/ReadOnlyBootPrompt
if [ $? -eq 0 ]; then
launchscript $SCRIPTS/Bootscript.cd
exit 0 # and return
elif [ "$isReadOnly" = "yes" ] ; then
# Create Installer link (using the write overlay)
ln -sf /boot/system/apps/Installer /boot/home/Desktop/Installer
fi
fi

Expand Down

0 comments on commit 8500490

Please sign in to comment.