Bugzilla – Attachment #144740: patch for both cases for bug #281792
import "FileUtils";
import "Mode";
import "Package";
import "PackageSystem";
import "Popup";
import "Progress";
import "Report";
*/
global boolean Read() {
if (!PackageSystem::CheckAndInstallPackagesInteractive (["inst-source-utils"]))
return false;
gpg_keys = read_secret_keys ();
gpg_key = gpg_keys[0]:"";
import "CommandLine";
import "Directory";
include "add-on-creator/wizards.ycp";
any ret = nil;
ret = CommandLine::Run(cmdline_description);
ret = `cancel;
else
/* Finish */
y2milestone("AddOnCreator module finished with %1", ret);