Symlink Installer to the Desktop only on read-only medium.

Fixes part of #9399
This commit is contained in:
Matt Madia
2013-01-23 18:58:41 -05:00
parent 6f141e02e8
commit 85004907bf
+3 -3
View File
@@ -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