ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/ProductLicense.ybc

YaST bytecode 1.4.0ProductLicense<ProductLicense.ycp	DirectoryInstShowInfoLanguagePopupReportStageWizardMode		FileUtils
ProductFeaturesStringWorkflowManager
Progressalready_accepted_licenses	license_patterns	license_ids	all_licenses			GetId		EnvLangToLangCode		GetLicenseIdentString		IsLicenseAlreadyAccepted	LicenseHasBeenAccepted	WhichLicenceFile				GetLicenseContent				license_file_print	GetLicenseDialogTerm					license_acceptance_needed	AcceptanceNeeded	SetAcceptanceNeeded	GetLicenseDialog					GetLicenseDialogHelp	 DisplayLicenseDialog					!CleanUpLicense	"LicenseFiles				#tmpdir	$license_dir	%	info_file	&UnpackLicenseTgzFileToDirectory		'&SearchForLicense_FirstStageBaseProduct	(#SearchForLicense_LiveCDInstallation	)%SearchForLicense_NormalRunBaseProduct	*SearchForLicense_AddOnProduct	+GetSourceLicenseDirectory	,lic_lang	-InitLicenseData
						.UpdateLicenseContent			/AllLicensesAccepted0AllLicensesAcceptedOrDeclined1HandleLicenseDialogRet
			2CleanUp3AskLicenseAgreement
				4AskLicensesAgreement
			5AskAddOnLicenseAgreement
6AskFirstStageLicenseAgreement
	7info_file_already_seen	8#ShowFullScreenLicenseInInstallation9ShowLicenseInInstallation:AskInstalledLicenseAgreement
		;AskInstalledLicensesAgreement
		
lic_lang	licenses		id	id	33src_iddir	patterns	action	enable_backbase_productrequire_agreementid	44>dirs	patterns	action	enable_backbase_productrequire_agreement55src_id66src_idaction	88replace_point_IDsrc_id99replace_point_IDsrc_id::
	directory	action	;;directories	action	?3PkgSourceGetCurrentSourceProvideDigestedFile		3UI	UserInputQueryWidget


ReplaceWidget
GetDisplayInfo	WidgetExists
3SCRReadWriteExecute3	Directory3InstShowInfo
show_info_txt	3Languageselection_skippedGetLanguagesMap	3PopupContinueCancel	YesNo	ConfirmAbort

TimedOKCancel	3ReportError	3Stagestage	initial3WizardCloseDialogOpenNextBackDialogSetContents		SetTitleIcon	EnableNextButtonSetFocusToNextButton3Modemode	live_installationautoinst3	FileUtilsGetSize	MD5sum		Exists	3ProductFeatures3StringQuote		
EscapeTags		3WorkflowManager3Progress	IsRunning0 packager$#	$%	
license\.htmllicense\.%1\.htmllicense\.htmlicense\.%1\.htmlicense\.txtlicense\.%1\.txt$-	$3
%:id_text	id	$;(=		regexpmatch		^license_language_.+4=&>					regexpsub				^license_language_(.+)\14?,@	
y2error	
Cannot get ID from %1-C%Henv_lang	tmp	$J	(K&L			splitstring			.@-N	%Xfilename	filemd5	ret	(Y!4Y,Z	
y2error	
License '%1' doesn't exist-[$^(_4_-`$c		
sformat		
%1-%2,e	
y2milestone	
License ident for '%1' is '%2'-g%p
license_ident	(q||4q,r	
y2error	
Wrong license ID '%1'-s-v		contains%~
license_ident	(||4,	
y2error	
Wrong license ID '%1'-,	
y2milestone	
*Adding License ID '%1' as already accepted&			add%license_language	licenses		license_file	$	(||4,	
y2error	
/No license file defined for language '%1' in %24,	
y2milestone	
Using license file: %1-%license_file	license_text	rt$ $		SCR::Read.target.string(4,		
sformat		
Cannot read license file %1packager&$Empty(		regexpmatch		</.*>&MinWidthPRichTextid		
sformat		
welcome_text_%1&MinWidthPRichTextid		
sformat		
welcome_text_%1+			+			<pre></pre>-$%	languages	license_language	licenses		id	license_text	rtlang_names_orig	
lang_names		
lang_pairs	langslang_selector_options$$ $(4,	
y2error	
Wrong definition of languages&
$
&						mapmapcode	descr	(	4'	en_US(en	4'en	en_US$				maplistl	
name_print	$	(4l_short	$			substring		,				foreachk	v	(			substring		4&---&			filter	lang_pair	(	4,	
	y2warning	
/Unknown license language '%1', filtering out...-4-&				sorta	b	lsorted	lsorted_r$		lsort		$		lsort		-&&		$		maplistdescr	itemid			$optnotify(size4&adddisabled&		toset			add-VBoxLeftComboBoxid		
sformat		
license_language_%1	&LanguagepackagerReplacePointid		
sformat		
license_contents_rp_%1$
%-%id		new_value(4,	
y2error	
8Undefined behavior (License ID %1), AcceptanceNeeded: %2-'(4, 	
y2milestone	
*License agreement (ID %1) WILL be required4!,"	
y2milestone	
.License agreement (ID %1) will NOT be required%&	languages	license_language	licenses		id	spare_spacedisplayspacelicense_buttons$'$(TextMode$*VBoxVSpacingRadioButtonGroupid		
sformat		
eula_%1HBoxHSpacing*VBoxLeftRadioButtonid		
sformat		
yes_%1optnotify&&Yes, I Agree to the License AgreementpackagerLeftRadioButtonid		
sformat		
no_%1optnotifyN&o, I Do Not AgreepackagerHSpacing*-@VBoxVSpacingHBoxHSpacing* HSpacing*EmptyVSpacing0.5HBoxHSpacing*LeftLabel		
sformat		
QIf you want to print this EULA, you can find it
on the first media in the file %1packagerEmptyHSpacing*VSpacing%e-g<p>Read the license agreement carefully and select
one of the available options. If you do not agree to the license agreement,
the configuration will be aborted.</p>
packager%q 	languages	backlicense_language	licenses		id	caption	contentsdefault_next_button_state$sLicense Agreementpackager$u $y,{
,~
yast-license,
%!tmpdir	(&&/,SCR::Execute.target.bash_output		
sformat		
rm -rf '%1'%"dir	patterns	ret		files	$
(-$		SCR::Read.target.dir,	
y2milestone	
"All files in license directory: %1(-
,		foreachp	(!		issubstring		%4,		foreachfile	(		regexpmatch		4'+			+			/4regpat	$		
sformat		
(.+),		foreachfile	(		regexpmatch		4key	$					regexpsub				\1'+			+			/,	
y2milestone	
Files containing license: %1-$#$$$%%&unpack_file	to_directory	(4out$SCR::Execute.target.bash_output		
sformat		
:
rm -rf '%1' && mkdir -p '%1' && cd '%1' && tar -xzf '%2'
(exit4,	
y2error	
Cannot untar license -> %1,:An error occurred while preparing the installation system.packager,!--4,	
y2error	
No such file: %1-%'src_idfallback_dir	license_file	,	
y2milestone	
)Getting license from installation product$/license.tar.gz(4,	
y2milestone	
"Installation Product has a license&#		
sformat		
 %1/product-license/base-product/		SCR::Read.target.tmpdir(&#4&$#&license.tar.gz4&4,	
y2milestone	
+Installation Product doesn't have a license&(	/info.txt&%	/info.txt%(src_idfallback_dir	license_locations	,	
y2milestone	
LiveCD License$	/usr/share/doc/licenses//&$&%,
		foreachlicense_location	&		
sformat		
%1/license.tar.gz(
4
,	
y2milestone	
Using license: %1&#		
sformat		
%1/product-license/LiveCD/		SCR::Read.target.tmpdir(&#4&$#&license.tar.gz4,!#.($4,	
y2milestone	
No license found in: %1,		foreach
info_location	& 		
sformat		
%1/README.BETA("4",#	
y2milestone	
Using info file: %1&$%.%()%4),*	
y2milestone	
No info file found in: %1%.)src_idfallback_dir	,/	
y2milestone	
"Using default license directory %1(141&2$43,4	
	y2warning	
Fallback dir doesn't exist %1&5$(8	/info.txt&9%	/info.txt%<*src_idfallback_dir	license_file_location	license_file	out
,=	
y2milestone	
'Getting license info from repository %1&?%/media.1/info.txt&B#		
sformat		
%1/product-license/%2/		SCR::Read.target.tmpdir$E/license.tar.gz$F(H4H,I	
y2milestone	
Using file %1 with licenses(K&#4K&L$#&Mlicense.tar.gz4N&O$-R,U	
y2milestone	
Licenses in %1... not supported&X$#&Y/media.1/license.zip(\4\,]	
y2milestone	
No license present&^$&_#-a,d	
y2milestone	
Product has a license$eSCR::Execute.target.bash_output		
sformat		
<
rm -rf '%1' && mkdir -p '%1' && cd '%1' && unzip -qqo '%2'
#(sexit4s,t	
y2error	
Cannot unzip license -> %1,v:An error occurred while preparing the installation system.packager,w!#&x$4y&z$#&{/media.1/license.zip%+src_idfallback_dir	,	
y2milestone	
MSearching for licenses... (src_id: %1, fallback_dir: %2, mode: %3, stage: %4)	&(4,((&&!	4,)(&&	4,'(&&4,*4,	
	y2warning	
.Source ID not defined, using fallback dir '%1'&$,	
y2milestone	
CProductLicense settings: license_dir: %1, tmpdir: %2, info_file: %3$#%$,%-src_iddir	licenses		available_langs	require_agreement
license_ident	id	language	langs	license_ident_lang	base_license	,+(		
sformat		
%1/no-acceptance-needed$4(4,	
y2error	
Parameter id not set4,&"$'(&&%size-auto$		getenv		LANG$			substring		en_USen_GBen&						maplistlang	fn	(&&		containsen		contains4,	
y2milestone	
7Removing license fallback '' as we already have 'en'...&			filterone_lang	en,	
y2milestone	
Preffered lang: %1(size-auto&,			findl	haskey(,&,	,	
y2milestone	
Preselected language: '%1',(,4(#,!#-auto$,		foreach
check_this	en,(		contains4&,	
y2milestone	
(Using localization '%1' (for license ID).(&,$ &(
&&&&&&	tostring		size	!4
,	
y2milestone	
'License has been already accepted/shown,
!#-accepted4,	
y2milestone	
License needs to be shown(4(	4,	
y2milestone	
(Initial stage, not opening any window...4,
-!cont%%.licenses		id	rp_id&',	id		
sformat		
license_language_%1Value$(id		
sformat		
license_contents_rp_%1(*
4*&+
		(.-4.,/, 40,1	
y2error	
No such widget: %1%5/acceptedeula_id	$8$9,;		foreachone_license_id	license_accepted	(<4<,=	
y2milestone	
'License %1 does not need to be accepted->&A		
sformat		
eula_%1(B-id4B,C	
y2error	
Widget %1 does not exist-D$H	id
CurrentButton,I	
y2milestone	
License %1 accepted: %2(K!		regexpmatch		^yes_4K&L.M-Q%T0reteula_id	$U$W,X		foreachone_license_id	current_button	(Y-Z&\		
sformat		
eula_%1(]-id4],^	
y2error	
Widget %1 does not exist$a	id
CurrentButton(c4c,d	
	y2warning	
+License %1 hasn't been accepted or declined&e.f-j%m1licenses		base_productaction	ret$n)p4p&q(s&&			regexpmatch			tostring	^license_language_4s,t. 	tostring	&ulanguage(x&&	||		regexpmatch			tostring	^yes_		regexpmatch			tostring	^no_4x(y0,z
(|abort4|(~4~(painless4,	
y2milestone	
Aborting...&abort.4(-Really abort the add-on product installation?packager4,	
y2milestone	
Aborting...&abort.(next4(/4refuse_popup_text	(continue4,	
y2milestone	
>action in case of license refusal is continue, not asking user&accepted.$URefusing the license agreement cancels the installation.
Really refuse the agreement?packagerdRefusing the license agreement cancels the add-on
product installation. Really refuse the agreement?packager(!4/4,	
y2milestone	
License has been declined.(abort4&abort.(continue4&accepted.(halt4&halt.(!The system is shutting down...packager
4/4&halt.4,	
y2error	
Unknown action %1&abort.4,	
y2milestone	
 All licenses have been accepted.&accepted.(back4&back.4,	
y2error	
Unhandled input: %1-
%2&	%3licenses		available_langs	
license_ident	init_ret
created_new_dialogret
&,$
$	$$-   (||autoaccepted4,	
y2milestone	
Returning %1-$(4,	
y2milestone	
;Some progress is running, opening new dialog for license...,	
&
,
 , (%,%$(4,	
y2milestone	
1AutoYaST: License has been accepted automatically&accepted4&1 (&&accepted4,!,$!#('||&&!	4',(
,+2--%>4	init_ret
created_new_dialogcaption	license_idents	ret
licenses		countercontentsdefault_next_button_state(B||	4B,C	
y2error	
No directories: %1,E"Internal Error: No license to show-Fauto$I(K||autoaccepted4K,L	
y2milestone	
Returning %1-M$P(T4T,U	
y2milestone	
;Some progress is running, opening new dialog for license...,V
&W$[License Agreementpackager$]	$`$b	$c$dVBox$g,i		foreachdir	available_langs	
license_ident	tmp_licenses		init_ret
license_term
&j+'k
&m,$n	$o$p
$r-   (t&u			add$w, (x4x,y	
y2error	
Oops, license term is: %14z&{add(%,%'(&,
SCR::Write.target.ycp/tmp/a,
,
yast-license,
(4,	
y2milestone	
1AutoYaST: License has been accepted automatically&accepted4tmp_licenses		$
&1 ,	
y2milestone	
Dialog ret: %1(accepted4,		foreach
license_ident	,,!#(||!	4,
,2-%5-3abort	tostring	%6enable_back$(&-3	tostring	$7
%8licenses		available_langs	
license_ident	init_ret
ret
&,$
$	$$-   	tostring	,id, 	tostring	$)4&(&&			regexpmatch			tostring	^license_language_[[:digit:]]+4,. 	tostring	4.,2-%9licenses		available_langs	
license_ident	init_ret
rtid	&,$
$	$$-   	tostring	$, 	tostring	,id$	tostring	(&&%74(4,	
y2milestone	
'Autoinstallation: Skipping info file...4,%'7,2-
%
:-3	%;-4	

ACC SHELL 2018