[kupfer/maint] apt_tools: Use apt-get install --yes as default install method



commit 9988d148280ed95d5a272cca4004192e2f4b5207
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Sat Feb 6 14:24:47 2010 +0100

    apt_tools: Use apt-get install --yes  as default install method
    
    It is unfortunate, but I think we have to use the --yes flag on the
    apt plugin for this to work properly. We want to use gksu so that the
    user can verify the commandline being run before authorizing it.
    
    With gksu the terminal is somehow then locked, and apt-get can't
    accept user input; we have no choice but to either use sudo or use the
    --yes flag to apt-get.

 kupfer/plugin/apt_tools.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/plugin/apt_tools.py b/kupfer/plugin/apt_tools.py
index 49a6e43..c56c7ea 100644
--- a/kupfer/plugin/apt_tools.py
+++ b/kupfer/plugin/apt_tools.py
@@ -23,7 +23,7 @@ __kupfer_settings__ = plugin_support.PluginSettings(
 		"key" : "installation_method",
 		"label": _("Installation method"),
 		"type": str,
-		"value": "gksu apt-get install",
+		"value": "gksu -- apt-get install --yes",
 	},
 )
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]