112
117
"install", "--mode=644","--owner=0",channelpath,
113
118
apt_pkg.Config.FindDir("Dir::Etc::sourceparts")]
117
122
# install the key as well
118
123
if os.path.exists(channelkey):
121
126
"apt-key", "add",channelkey]
127
132
def askInstallPackage(self, package, summary, description, homepage):
128
133
header = "<h2>" + _("Install additional software?") + "</h2>"
129
134
body = _("Do you want to install package '%s'?") % package
132
135
self.d.header_label.setText(header)
133
136
self.d.body_label.setText(body)
137
138
self.dialog.setButtons(KDialog.ButtonCode(KDialog.Yes | KDialog.No))