(command.CommandList children: [ (C {(set)} {(-e)}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:url spids:[21]) op: Equal rhs: {($ VSub_Number '$1')} spids: [21] ) ] spids: [21] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:toinstall spids:[24]) op: Equal rhs: {($ VSub_Number '$2')} spids: [24] ) ] spids: [24] ) (command.ForEach iter_name: i iter_words: [{(curl)} {(xmllint)} {(gunzip)} {(sort)} {(sha256sum)} {(7z)}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(-z)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.SimpleCommand words: [{(which)} {($ VSub_DollarName '$i')}] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [57 64] ) ) } {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (command.SimpleCommand words: [ {(echo)} { (DQ ('error: this script requires having ') ($ VSub_DollarName '$i') (' installed') ) } ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] spids: [16777215 70] ) ] spids: [16777215 90] ) ] spids: [47 92] ) spids: [33 45] ) (command.FuncDef name: retry_curl body: (command.BraceGroup children: [ (command.ForEach iter_name: i iter_words: [ { (word_part.CommandSubPart command_list: (command.CommandList children:[(C {(seq)} {(10)})]) left_token: <Left_CommandSub '$('> spids: [111 115] ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.AndOr ops: [Op_DAmp] children: [ (C {(curl)} {(-fLsS)} {($ VSub_Number '$1')}) (command.ControlFlow token: <ControlFlow_Return return> ) ] ) ] spids: [118 136] ) spids: [110 116] ) (command.SimpleCommand words: [{(echo)} {(DQ ('error: failed to download ') ($ VSub_Number '$1'))}] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [102] ) spids: [98 101] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:xp spids:[157]) op: Equal rhs: {(DQ ('xmllint --xpath'))} spids: [157] ) ] spids: [157] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:loc spids:[165]) op: Equal rhs: {(DQ ('local-name()='))} spids: [165] ) ] spids: [165] ) (C {(eval)} { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(retry_curl)} {($ VSub_DollarName '$url') (/repodata/repomd.xml)}) (C {($ VSub_DollarName '$xp')} { (DQ ('/*[') ($ VSub_DollarName '$loc') ("'repomd'] ") (' /*[') ($ VSub_DollarName '$loc') ("'data'][@type='primary']/*[") ($ VSub_DollarName '$loc') ("'location']/@href") ) } {(-)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [172 195] ) } ) (command.Case to_match: {($ VSub_DollarName '$href')} arms: [ (case_arm pat_list: [{(Lit_Other '*') (.gz)}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:primary spids:[210]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(retry_curl)} {($ VSub_DollarName '$url') (/) ($ VSub_DollarName '$href')} ) (C {(gunzip)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [211 221] ) } spids: [210] ) ] spids: [210] ) ] spids: [205 207 222 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:primary spids:[229]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (C {(retry_curl)} {($ VSub_DollarName '$url') (/) ($ VSub_DollarName '$href')} ) ] ) left_token: <Left_CommandSub '$('> spids: [230 236] ) } spids: [229] ) ] spids: [229] ) ] spids: [225 226 237 16777215] ) ] spids: [198 202 239] ) (command.FuncDef name: rpm_select body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:candidates spids:[255]) op: Equal rhs: { (DQ ('<c>') (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$primary')}) (command.SimpleCommand words: [ {($ VSub_DollarName '$xp')} { (DQ ('//*[') ($ VSub_DollarName '$loc') ("'package'] ") (' [./*[') ($ VSub_DollarName '$loc') ("'name' and .='") ($ VSub_Number '$1') ("']][./*[") ($ VSub_DollarName '$loc') ("'arch' and .='noarch']]") ) } {(-)} ] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) (C {(sed)} {(-e)} {(SQ <'s|<rpm:|<|g'>)} {(-e)} {(SQ <'s|</rpm:|</|g'>)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [258 303] ) ('</c>') ) } spids: [255] ) ] spids: [255] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$candidates'))} {(Lit_Other '=')} {(DQ ('<c></c>'))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (command.SimpleCommand words: [ {(echo)} {(DQ ('error: no package candidates found for ') ($ VSub_Number '$1'))} ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] spids: [16777215 329] ) ] spids: [16777215 348] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:epochs spids:[351]) op: Equal rhs: {(DQ )} spids: [351] ) ] spids: [351] ) (command.ForEach iter_name: i iter_words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$candidates')}) (C {($ VSub_DollarName '$xp')} {(DQ ('/c/package/version/@epoch'))} {(-)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [362 376] ) } ] do_arg_iter: F body: (command.DoGroup children: [ (C {(eval)} {($ VSub_DollarName '$i')}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:epochs spids:[387]) op: Equal rhs: {(DQ ($ VSub_DollarName '$epochs') (' ') ($ VSub_DollarName '$epoch'))} spids: [387] ) ] spids: [387] ) ] spids: [379 395] ) spids: [361 377] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:maxepoch spids:[398]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$epochs')}) (C {(sed)} {(SQ <'s/ /\\n/g'>)}) (C {(sort)} {(-V)} {(-u)}) (C {(tail)} {(-n)} {(1)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [399 427] ) } spids: [398] ) ] spids: [398] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:vers spids:[430]) op: Equal rhs: {(DQ )} spids: [430] ) ] spids: [430] ) (command.ForEach iter_name: i iter_words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$candidates')}) (C {($ VSub_DollarName '$xp')} { (DQ ('/c/package/version ') (" [@epoch='") ($ VSub_DollarName '$maxepoch') ("']/@ver") ) } {(-)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [441 459] ) } ] do_arg_iter: F body: (command.DoGroup children: [ (C {(eval)} {($ VSub_DollarName '$i')}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:vers spids:[470]) op: Equal rhs: {(DQ ($ VSub_DollarName '$vers') (' ') ($ VSub_DollarName '$ver'))} spids: [470] ) ] spids: [470] ) ] spids: [462 478] ) spids: [440 460] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:maxver spids:[481]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$vers')}) (C {(sed)} {(SQ <'s/ /\\n/g'>)}) (C {(sort)} {(-V)} {(-u)}) (C {(tail)} {(-n)} {(1)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [482 510] ) } spids: [481] ) ] spids: [481] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:rels spids:[513]) op: Equal rhs: {(DQ )} spids: [513] ) ] spids: [513] ) (command.ForEach iter_name: i iter_words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$candidates')}) (C {($ VSub_DollarName '$xp')} { (DQ ('/c/package/version ') (" [@epoch='") ($ VSub_DollarName '$maxepoch') ("'][@ver='") ($ VSub_DollarName '$maxver') ("']/@rel") ) } {(-)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [524 544] ) } ] do_arg_iter: F body: (command.DoGroup children: [ (C {(eval)} {($ VSub_DollarName '$i')}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:rels spids:[555]) op: Equal rhs: {(DQ ($ VSub_DollarName '$rels') (' ') ($ VSub_DollarName '$rel'))} spids: [555] ) ] spids: [555] ) ] spids: [547 563] ) spids: [523 545] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:maxrel spids:[566]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$rels')}) (C {(sed)} {(SQ <'s/ /\\n/g'>)}) (C {(sort)} {(-V)} {(-u)}) (C {(tail)} {(-n)} {(1)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [567 595] ) } spids: [566] ) ] spids: [566] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:repeats spids:[598]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$rels')}) (C {(sed)} {(SQ <'s/ /\\n/g'>)}) (C {(sort)} {(-V)}) (C {(uniq)} {(-d)}) (C {(tail)} {(-n)} {(1)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [599 631] ) } spids: [598] ) ] spids: [598] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_DollarName '$repeats'))} {(Lit_Other '=')} {(DQ ($ VSub_DollarName '$maxrel'))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (command.SimpleCommand words: [ {(echo)} { (DQ ('warning: multiple candidates found for ') ($ VSub_Number '$1') (' with same version:') ) } ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) (command.SimpleCommand words: [ {(echo)} { (DQ ('epoch ') ($ VSub_DollarName '$maxepoch') (', ver ') ($ VSub_DollarName '$maxver') (', rel ') ($ VSub_DollarName '$maxrel') (', picking at random') ) } ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) ] spids: [16777215 651] ) ] spids: [16777215 682] ) (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$candidates')}) (C {($ VSub_DollarName '$xp')} { (DQ ("/c/package[version[@epoch='") ($ VSub_DollarName '$maxepoch') ("'] ") (" [@ver='") ($ VSub_DollarName '$maxver') ("'][@rel='") ($ VSub_DollarName '$maxrel') ("']][1]") ) } {(-)} ) ] negated: F ) ] spids: [252] ) spids: [248 251] ) (command.ForEach iter_name: i iter_words: [{($ VSub_DollarName '$toinstall')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(-z)} { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(rpm_select)} {($ VSub_DollarName '$i')})] ) left_token: <Left_CommandSub '$('> spids: [733 737] ) ) } {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [(command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})] spids: [16777215 743] ) ] spids: [16777215 751] ) ] spids: [719 753] ) spids: [715 717] ) (command.FuncDef name: rpm_requires body: (command.BraceGroup children: [ (command.ForEach iter_name: i iter_words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(rpm_select)} {($ VSub_Number '$1')}) (command.SimpleCommand words: [ {($ VSub_DollarName '$xp')} {(DQ ('/package/format/requires/entry/@name'))} {(-)} ] redirects: [ (redir.Redir op: <Redir_Great '2>'> fd: 2 arg_word: {(/dev/null)} ) ] ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [772 791] ) } ] do_arg_iter: F body: (command.DoGroup children: [ (C {(eval)} {($ VSub_DollarName '$i')}) (C {(echo)} {($ VSub_DollarName '$name')}) ] spids: [794 807] ) spids: [771 792] ) ] spids: [763] ) spids: [759 762] ) (command.FuncDef name: rpm_provides body: (command.BraceGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:providers spids:[822]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$primary')}) (C {($ VSub_DollarName '$xp')} { (DQ ('//*[') ($ VSub_DollarName '$loc') ("'package'][./*[") ($ VSub_DollarName '$loc') ("'format'] ") (' /*[') ($ VSub_DollarName '$loc') ("'provides']/*[") ($ VSub_DollarName '$loc') ("'entry'][@name='") ($ VSub_Number '$1') ("']]/*[") ($ VSub_DollarName '$loc') ("'name']") ) } {(-)} ) (C {(sed)} {(-e)} {(SQ <'s|<name>||g'>)} {(-e)} {(SQ <'s|</name>|\\n|g'>)} ) (C {(sort)} {(-u)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [823 875] ) } spids: [822] ) ] spids: [822] ) (command.If arms: [ (if_arm cond: [ (command.Sentence child: (C {(Lit_Other '[')} { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$providers')}) (C {(wc)} {(-w)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [882 892] ) } {(-gt)} {(1)} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (command.SimpleCommand words: [ {(echo)} { (DQ ('warning: found multiple providers ') ($ VSub_DollarName '$providers') (' for ') ($ VSub_Number '$1') (', adding all') ) } ] redirects: [(redir.Redir op:<Redir_GreatAnd '>&'> fd:16777215 arg_word:{(2)})] ) ] spids: [16777215 901] ) ] spids: [16777215 918] ) (C {(echo)} {($ VSub_DollarName '$providers')}) ] spids: [819] ) spids: [815 818] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:newpkgs spids:[928]) op: Equal rhs: {($ VSub_DollarName '$toinstall')} spids: [928] ) ] spids: [928] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:allrequires spids:[931]) op: Equal rhs: {(DQ )} spids: [931] ) ] spids: [931] ) (command.WhileUntil keyword: <KW_While while> cond: [ (command.Sentence child: (C {(Lit_Other '[')} {(-n)} {(DQ ($ VSub_DollarName '$newpkgs'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] body: (command.DoGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:newrequires spids:[951]) op: Equal rhs: {(DQ )} spids: [951] ) ] spids: [951] ) (command.ForEach iter_name: i iter_words: [{($ VSub_DollarName '$newpkgs')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ForEach iter_name: j iter_words: [ { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(rpm_requires)} {($ VSub_DollarName '$i')})] ) left_token: <Left_CommandSub '$('> spids: [974 978] ) } ] do_arg_iter: F body: (command.DoGroup children: [ (command.Case to_match: { (DQ (' ') ($ VSub_DollarName '$allrequires') (' ') ($ VSub_DollarName '$newrequires') (' ') ) } arms: [ (case_arm pat_list: [ {(Lit_Other '*') (DQ (' ') ($ VSub_DollarName '$j') (' ')) (Lit_Other '*') } ] spids: [1001 1008 1014 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:newrequires spids:[1021]) op: Equal rhs: { (DQ ($ VSub_DollarName '$newrequires') (' ') ($ VSub_DollarName '$j') ) } spids: [1021] ) ] spids: [1021] ) ] spids: [1017 1018 1027 16777215] ) ] spids: [988 998 1030] ) ] spids: [981 1033] ) spids: [973 979] ) ] spids: [965 1036] ) spids: [961 963] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:allrequires spids:[1039]) op: Equal rhs: { (DQ ($ VSub_DollarName '$allrequires') (' ') ($ VSub_DollarName '$newrequires')) } spids: [1039] ) ] spids: [1039] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:newpkgs spids:[1047]) op: Equal rhs: {(DQ )} spids: [1047] ) ] spids: [1047] ) (command.ForEach iter_name: i iter_words: [{($ VSub_DollarName '$newrequires')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:provides spids:[1064]) op: Equal rhs: { (DQ (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(rpm_provides)} {($ VSub_DollarName '$i')})] ) left_token: <Left_CommandSub '$('> spids: [1066 1070] ) ) } spids: [1064] ) ] spids: [1064] ) (command.Case to_match: { (DQ (' ') ($ VSub_DollarName '$toinstall') (' ') ($ VSub_DollarName '$newpkgs') (' ') ) } arms: [ (case_arm pat_list: [ {(Lit_Other '*') (DQ (' ') ($ VSub_DollarName '$provides') (' ')) (Lit_Other '*') } ] spids: [1087 1094 1100 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:newpkgs spids:[1107]) op: Equal rhs: { (DQ ($ VSub_DollarName '$newpkgs') (' ') ($ VSub_DollarName '$provides') ) } spids: [1107] ) ] spids: [1107] ) ] spids: [1103 1104 1113 16777215] ) ] spids: [1074 1084 1116] ) ] spids: [1061 1119] ) spids: [1057 1059] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:toinstall spids:[1122]) op: Equal rhs: {(DQ ($ VSub_DollarName '$toinstall') (' ') ($ VSub_DollarName '$newpkgs'))} spids: [1122] ) ] spids: [1122] ) ] spids: [948 1129] ) ) (C {(mkdir)} {(-p)} {(noarch)}) (command.ForEach iter_name: i iter_words: [{($ VSub_DollarName '$toinstall')}] do_arg_iter: F body: (command.DoGroup children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:pkgi spids:[1150]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(rpm_select)} {($ VSub_DollarName '$i')})] ) left_token: <Left_CommandSub '$('> spids: [1151 1155] ) } spids: [1150] ) ] spids: [1150] ) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:checksum spids:[1158]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$pkgi')}) (C {($ VSub_DollarName '$xp')} {(DQ ('/package/checksum/text()'))} {(-)} ) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [1159 1173] ) } spids: [1158] ) ] spids: [1158] ) (C {(eval)} { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ VSub_DollarName '$pkgi')}) (C {($ VSub_DollarName '$xp')} {(DQ ('/package/location/@href'))} {(-)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [1178 1192] ) } ) (C {(echo)} {(DQ ('downloading ') ($ VSub_DollarName '$href'))}) (C { (word_part.CommandSubPart command_list: (command.CommandList children: [(C {(dirname)} {(DQ ($ VSub_Number '$0'))})] ) left_token: <Left_CommandSub '$('> spids: [1203 1209] ) (/../../deps/tools/jldownload) } {($ VSub_DollarName '$href')} {($ VSub_DollarName '$url') (/) ($ VSub_DollarName '$href')} ) (command.Pipeline children: [ (C {(echo)} {(DQ ($ VSub_DollarName '$checksum') (' *') ($ VSub_DollarName '$href'))}) (C {(sha256sum)} {(-c)}) ] negated: F ) (C {(7z)} {(x)} {(-y)} {($ VSub_DollarName '$href')}) (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:cpiofile spids:[1243]) op: Equal rhs: { (word_part.CommandSubPart command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(basename)} {($ VSub_DollarName '$href')}) (C {(sed)} {(SQ <'s/.rpm$/.cpio/'>)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [1244 1256] ) } spids: [1243] ) ] spids: [1243] ) (C {(rm)} {($ VSub_DollarName '$href')}) (C {(7z)} {(x)} {(-y)} {($ VSub_DollarName '$cpiofile')}) (C {(rm)} {($ VSub_DollarName '$cpiofile')}) ] spids: [1147 1277] ) spids: [1143 1145] ) (C {(rmdir)} {(--ignore-fail-on-non-empty)} {(noarch)}) ] )