From ac2c7758a740fc6cb9c8cb00e86d66cfcc5370e4 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 6 Feb 2022 00:59:30 -0300 Subject: [PATCH] Remove db files --- any/calrepo.db | 2 +- any/calrepo.db.sig | 2 +- any/calrepo.db.tar.gz | Bin 1012 -> 0 bytes any/calrepo.db.tar.gz.sig | Bin 438 -> 0 bytes any/calrepo.files | 2 +- any/calrepo.files.sig | 2 +- any/calrepo.files.tar.gz | Bin 1082 -> 0 bytes any/calrepo.files.tar.gz.sig | Bin 438 -> 0 bytes build.sh | 11 +++++++++++ x86_64/calrepo.db | 2 +- x86_64/calrepo.db.sig | 2 +- x86_64/calrepo.db.tar.gz | Bin 1007 -> 0 bytes x86_64/calrepo.db.tar.gz.sig | Bin 438 -> 0 bytes x86_64/calrepo.files | 2 +- x86_64/calrepo.files.sig | 2 +- x86_64/calrepo.files.tar.gz | Bin 1093 -> 0 bytes x86_64/calrepo.files.tar.gz.sig | Bin 438 -> 0 bytes 17 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 any/calrepo.db.tar.gz delete mode 100644 any/calrepo.db.tar.gz.sig delete mode 100644 any/calrepo.files.tar.gz delete mode 100644 any/calrepo.files.tar.gz.sig delete mode 100644 x86_64/calrepo.db.tar.gz delete mode 100644 x86_64/calrepo.db.tar.gz.sig delete mode 100644 x86_64/calrepo.files.tar.gz delete mode 100644 x86_64/calrepo.files.tar.gz.sig diff --git a/any/calrepo.db b/any/calrepo.db index e9df1a6..e220947 120000 --- a/any/calrepo.db +++ b/any/calrepo.db @@ -1 +1 @@ -calrepo.db.tar.gz \ No newline at end of file +../db/calrepo.db.tar.gz \ No newline at end of file diff --git a/any/calrepo.db.sig b/any/calrepo.db.sig index f748a6e..f73a17e 120000 --- a/any/calrepo.db.sig +++ b/any/calrepo.db.sig @@ -1 +1 @@ -calrepo.db.tar.gz.sig \ No newline at end of file +../db/calrepo.db.tar.gz.sig \ No newline at end of file diff --git a/any/calrepo.db.tar.gz b/any/calrepo.db.tar.gz deleted file mode 100644 index e23680769a82e177891528c6ec20088bffb6688e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1012 zcmV8U?EI%AYf)Yvc(}@1|bubJg z2?B*jRuY)^;~Nw^VkJo&u{0oaiQDhj@+VTU(rf6FH8iR^SkyBq-uU zK7x|KGEk8e#4~uRKLMN|exIExsmP8bUO`aeIGN!R0bk8nhDb;w4oag`K{y~OBc72F zrwDQaVVZD4#Iq4fCA`~Wyzs4Yzn6RCP6a^K0Dxw07@;$f#gQLQV6eBv*c)$;pgS*a z`=e!o=efEr@>bVenPGsJoo#kDyFK3z-PVSy zi<-$!=W}y+T5tEcUm-qb2QFX5xggKtm$jjqHO*g}>pIw}NX~-PTSfFXxJ%MBbE+yp z?L=JPoaRcyg_@YNd*|NP%N*V9EBz8_{3%W7?qIbWpxKo(Rc>_X-(_I$Om)$WC1bmH zgX~BHf3rA&BYogkHdB=YZsD1Z<>dO{us>DmdIiVJM%qkbmd`t zi(7meFV!MZ4CqXa8MI1hDnX%zS*c1dqInXG%4Z-PpTVryw3aY>-WOi$q=Mm0ShgEq zcqaC)r<;T3GiAP?ReQCpQc1pWu4)H^bjPmhx=L5BaRE$c@m|bW2ezp-2+Jyo)zE4Y zGq3i3yt_jYZ2ZhoR^tfbu~9wz0HK1XFyMrZm}V|b!%X@>hy-FRVR6D+k!zlX*8 zP-AG>x()&yWO46hSy_}HI#~d12FAv+-}9qWn@3qm*(Ign#zy_zJUp*mZpg5|X2&Qm z9*KW>sBi9?I9=fXA@Rpv%lWf~rTosN8wW7s5E+?( z&Xe(uVgmaN0MtSKk&mtj2qXPAmrBt`x`-N8D8@&T2B3SUWynz6KI9;kRF0QZQj`hv zIUk^&6l25(PQn!m1}3J(cFiH%GnQZ!p~nbaGq&>^f83$t@l*}2_*>0fh=YXPb7h9NPOU)!>y;x1kG`|B)PR0%=jYWLp6$%4sx^{Ib;plx@`lbx9Sq)ZTF* zQ8L#%r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QvOP1?1?C;qj%8Ps8-|p(0dIJ=05qy#OeXjZR(KfBuCexZ(o{21R z)NJpv)F#$f+jCO*(fJO8!C){L32dzshxd12t0Bf2g AzW@LL diff --git a/any/calrepo.files.tar.gz.sig b/any/calrepo.files.tar.gz.sig deleted file mode 100644 index ff2d15d4bae5dd4c102ef5234e2a5d7532fb9d52..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 438 zcmV;n0ZIOe0kZ@E0SEvc79j*s!TjrllpWOLFQ(8LnSjod@s45z0%89`%>W7s5E+?( z&Xe(uVo)aw`vpY9Ac+^K#})_uL=K6)?qWxz+jB4iVcn0dBN?v*l_{yWqg_$9cV8_| zV$4tnDGB=NpfQqu2%VrQ)W0w1Sq{m|}M% z>r--;KbmwjhXuOzNj!++KMZX^egR|;@FH>WF z>zM_gYf{}E68G~)?Q#Y=cM z=p|@M@Nr`SYg-9;{|(CysAcMlwU?U7hZDy)`!9F|p8cB{O50rOuQ6xbX`qwu$bg~o g>_?z#n#@}uPTg*6hBch!tAkGZ=(n}0awE!LQHmPS_W%F@ diff --git a/build.sh b/build.sh index ad67ff2..43b0b40 100755 --- a/build.sh +++ b/build.sh @@ -2,6 +2,16 @@ # TODO: Get the .pkg.tar.zst from calpkgs +getAnyPackages() { + cd x86_64 + + while read -r pkg; do + ln -sf "$pkg" "$(basename $pkg)" + done < "$1" + + cd .. +} + buildDatabase() { lastFolder=$(pwd -P) cd db || { echo "Couldn't cd into 'db'." 1>&2 && exit 1; } @@ -15,6 +25,7 @@ buildDatabase() { } runScript() { + getAnyPackages <(find -H "$PWD/any" -mindepth 1 -type f -regex '.*.pkg.tar.zst.*') buildDatabase <(find -H "$PWD" -mindepth 1 -type f -regex '.*.pkg.tar.zst') } diff --git a/x86_64/calrepo.db b/x86_64/calrepo.db index e9df1a6..e220947 120000 --- a/x86_64/calrepo.db +++ b/x86_64/calrepo.db @@ -1 +1 @@ -calrepo.db.tar.gz \ No newline at end of file +../db/calrepo.db.tar.gz \ No newline at end of file diff --git a/x86_64/calrepo.db.sig b/x86_64/calrepo.db.sig index f748a6e..f73a17e 120000 --- a/x86_64/calrepo.db.sig +++ b/x86_64/calrepo.db.sig @@ -1 +1 @@ -calrepo.db.tar.gz.sig \ No newline at end of file +../db/calrepo.db.tar.gz.sig \ No newline at end of file diff --git a/x86_64/calrepo.db.tar.gz b/x86_64/calrepo.db.tar.gz deleted file mode 100644 index cc5d9194bf19c33b3bb6ba88569c545533ac5aa1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1007 zcmVA9P(nwpt>E>g!F50T`gZbnJgjKG*5v*U^$Cy-+~KyxE%^5eSz063QI zcVkx^d>%jaApA&zl-~WN4>9Qd%agCW@hw$?|5Yc1y80YUt!T@>lcSL2OUf zJwIrQcu*(iR1;^({`2=9lUyh3eSLzbR zh)*5+)r&Kho_m#>U9N|R?cbOz*f1|tNUc1|=J;IS+>&|Q+Q~ny-d0#mW&Lb;ztZBNiRsMsns& zvCJvuW1dFsz0D0U%ol2_u0pQ9E~l@%>uNcdY%HBEbaQvIRx#8Av{$2iK!Ap`xLR|2 zfDQGwzHTw60(eQ0ZVt8kDQw+`p{|g9h!=7q0ZVRn@q^i5ccvRuHEbuw>7|O!axBS# z%){0Pn(bM#hKtaGyQ;)zuy@kOuH9vUI~ihucOQG!yy>_tQ0SQ3>$y%HJlBxC@?xdt zX>+UAC&#p$i8Ay~bIqOxV$&eY4PTF5o(HA`%X(?kK57pXtKvX;@#NI?Ux#-kb#r_3 zSlLW9gwBg5!2>#jp;`L&q+G!5%`Fw(UN=)=1tEp?qL2^Ad!RSj0d0NWdr1?;x}EMz z=Xta@Ykkm5o90yiHkovtlwSOCa6C+ETsGPJ6*PJ4K3$v1#+0V5a;rG(A$*z@^~xz77q3}iK=IpnTFDpb?j#wKai8AP9mW2!bF8 df*=TjAP9mW2!bF8f*}6u{s4)AU5o%I005-(`zrtd diff --git a/x86_64/calrepo.db.tar.gz.sig b/x86_64/calrepo.db.tar.gz.sig deleted file mode 100644 index f8d072dc3007491fcfb0ad1459789e93e3807007..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 438 zcmV;n0ZIOe0kZ@E0SEvc79j*s!TjrllpWOLFQ(8LnSjod@s45z0%89`)Bp+z5E+?( z&Xe(uVj=zu{w%|u#7}40;+YQDW(aX%Uqh-;Eh>^w9^46biat+NIhzoZi1Kr{{H<#( zI18FiR7t}w8w0ss>y>c*b+Cn)hk~30J8p;n`j1W>rZE0(q9k*bA>r-3t=ikpKX0CJH4*qrd2$*4(Y?-Ui zF0vdgp#H9H@R0{dU1`&YF*}BGT;|t_+ms1vRfJ!8Jb8mYCrtpn3B%trE%JbAWvx_N z6R(DW;;(GX>>oVi<}JuE++v1{h+vUaDUz&mOchLv-U34$Go3{gpp5f`mjnHxGBk-s zT1gW+t3Qla^@yqK$2L$2G=xq$4sjZ7Sz?=HmQ#De7szt8bT6_0R4$jg>j`PyFd^}} zV0p;2R6->Hfpp#_wa>Ea_Ie&wAN<<`5qt18aR+Gbg~BOTSUmfrF;Z6c{pERpvP6CkiBL1mC;$Ke diff --git a/x86_64/calrepo.files b/x86_64/calrepo.files index 4f4ecf3..a092baf 120000 --- a/x86_64/calrepo.files +++ b/x86_64/calrepo.files @@ -1 +1 @@ -calrepo.files.tar.gz \ No newline at end of file +../db/calrepo.files.tar.gz \ No newline at end of file diff --git a/x86_64/calrepo.files.sig b/x86_64/calrepo.files.sig index 0a8a9a4..57545f6 120000 --- a/x86_64/calrepo.files.sig +++ b/x86_64/calrepo.files.sig @@ -1 +1 @@ -calrepo.files.tar.gz.sig \ No newline at end of file +../db/calrepo.files.tar.gz.sig \ No newline at end of file diff --git a/x86_64/calrepo.files.tar.gz b/x86_64/calrepo.files.tar.gz deleted file mode 100644 index 36e44a419349996270235a01e20920767abba8cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1093 zcmV-L1iJeliwFP!000001MQVtlcG2j$LE<(;fqgJOTs1KzM+89qM#tszHEg%3aEfL zKK-IIJKNROJ@eAFQ@fL&CCSM-p2Q^oLsdV;Y5fHHVxRAqY(ItqF923}V(2fQ1pq+c z`A*xm$-(RPI~~YDK|ma28Lk5$&kOvQ4*zK@_yMP?#$~&dD%<<*=fk+4`M>>-@9lqt z>f`f|(k!e#V~%z|5XXId{tRN@oIgSg`=tXuWAdNzo1cGI)pW(`Qm3k<9}h1r{^?Zp zqgy4o4Cz= zR{p2V@e}_;KsI57ylfQbSh0cOAjf$s|;9IzO|C=j8DahuH? zo0c~2Qt4vc3?*qelB7UQ6=gM>v`ev8lfd5U$XkpzxzrrY>o(U^DWA~BP?JXS?)A9K z#bh3Bp>)Yd?!2?*-cvw=ew$iHU8!xKYZpW4CnD(>cFc z-i1s375B^p%)(_XLEP%AOFV8G3%LOupHpKsVi*G?aO;67ULTLAw&$lh;QABX8I1WV`4+XA669s{(Ez%p=M6ETp9F5G#UO+{Q`RT$}A2^tRJU zGg$;eb)F4hHs{4`EL&JUn&{$e6s_c#8)(k+;sycgjiPcX>;RrmF3a;83ljiO3DS+8 zc0B}*bDK{V$jYOs63f6;>P>XxR@fQobEfPy^!)H#hDRlm6<-ly;{nZbO+~|5V8TsV z;3L@C$!*hYQs1F_cpy5r9dBH8++--QjrI9hB{m*wNLjd%T8XT&o>T|hFl}1xxrec4 z4SlJuk?904dw09_4H*{I%wj#%|Jt<`N|ab*wM&zcN#bOb%4 z@GQER!u7=|RNY$E!@&YV2J2a-hvzgm8Q$GWVimdm~s&E0}iK^Uy6>2{T+_O@~$#tuC{4y>n`Ja@X~NJS^3+P6;qkZt(B$THL9Py zxV(#CCQX&^uEIZ+?aTfV5?*WSQ44-`jUx~U1OkCTAP@)y0)apv5C{YUfj}S-ei!}% Lz1AqA04M+e$b}~f diff --git a/x86_64/calrepo.files.tar.gz.sig b/x86_64/calrepo.files.tar.gz.sig deleted file mode 100644 index 648c9a8d455eda09da8ff9c86c36edf263e9c1f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 438 zcmV;n0ZIOe0kZ@E0SEvc79j*s!TjrllpWOLFQ(8LnSjod@s45z0%89`)Bp+z5E+?( z&Xe(uViW)i{S`F4jC!xf6AAE6!5Fec@YhW${Q~6#z$Z?V5x~Vn6#&(+#kocO=)$jN z!;HVI-``?YEFge$;h!)5huWDoZ1uLC5mjDkm9RXK+y-xeO6lWHvhz$9oEm^*`lfX=6ID61rPG>I zPApA94*mbQ+8%9=t_ZFXO(I31#?RFRPID8LC{Q?8M%z5rtGB=XZdC(eeyNx(Jl~!T zxLs(84w2aU?1~m(8*)+Uz(?$TJ?OxjHLt-y