[Blends-commit] [SCM] ezgo branch, master, updated. 12376d37bc2266a802b5f07e2104f804acfaa32e
Franklin
franklin at goodhorse.idv.tw
Thu Dec 11 07:05:28 UTC 2014
The following commit has been merged in the master branch:
commit 12376d37bc2266a802b5f07e2104f804acfaa32e
Author: Franklin <franklin at goodhorse.idv.tw>
Date: Thu Dec 11 15:02:43 2014 +0800
Add \n so that 'exit' can be executed correctly.
diff --git a/ezgo-misc/media_pak_install/media_pak_install.py b/ezgo-misc/media_pak_install/media_pak_install.py
index f28384d..7916ab4 100755
--- a/ezgo-misc/media_pak_install/media_pak_install.py
+++ b/ezgo-misc/media_pak_install/media_pak_install.py
@@ -170,7 +170,7 @@ class FlashInstall:
bash_to_exe = ". "+MY_PATH+"media_pak_install.func\n"
bash_to_exe += "ping -c 1 8.8.8.8 > /dev/null\n"
bash_to_exe += "if [ $? != 0 ]; then\n"
- bash_to_exe += "show_error_message '"+_("Installation failed: Network unreachable.")+"'"
+ bash_to_exe += "show_error_message '"+_("Installation failed: Network unreachable.")+"'\n"
bash_to_exe += "exit 1\nfi\nexit 0\n"
rev = os.system( bash_to_exe )
if rev != 0 :
--
Blend for educatipn with asian specific adaptations
More information about the Blends-commit
mailing list