From 85004907bfc754570a1ed4f1321218295573b315 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Wed, 23 Jan 2013 17:47:42 -0500 Subject: [PATCH] Symlink Installer to the Desktop only on read-only medium. Fixes part of #9399 --- data/system/boot/Bootscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/system/boot/Bootscript b/data/system/boot/Bootscript index d0f130ed1b..071a4060a4 100644 --- a/data/system/boot/Bootscript +++ b/data/system/boot/Bootscript @@ -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