OSDN Git Service

fix installer.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Thu, 1 Apr 2010 03:41:49 +0000 (03:41 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Thu, 1 Apr 2010 03:41:49 +0000 (03:41 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@534 4e526526-5e11-4fc0-8910-f8fd03428081

rec10/trunk/src/install.py

index ab31fae..cda63ca 100644 (file)
@@ -227,6 +227,15 @@ def move():
             configwriter.setenv("x264_addline",confp.get("env","x264_addline"))
         except:
             configwriter.setenv("x264_addline","")
+        if confp.get("path","b25_remote")=="":
+            configwriter.setpath("b25_remote", "0")
+        elif confp.get("path","b25_remote")=="1":
+            configwriter.setpath("b25_remote", confp.get("path","b25_remote"))
+            configwriter.setpath("b25", confp.get("path","b25"))
+            configwriter.setpath("b25_env", confp.get("path","b25_env"))
+        else:
+            configwriter.setpath("b25_remote", confp.get("path","b25_remote"))
+
     configwriter.writeconf()
     recdblist.printutf8(u"初期設定が終了しました。")
     recdblist.printutf8(u"makeを実行した後にrootにてmake installを実行するとインストールされます。")