mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
arch-repo: list items
This commit is contained in:
parent
2564c833e2
commit
c04dec2722
@ -2,7 +2,7 @@
|
|||||||
_pkgname=repo
|
_pkgname=repo
|
||||||
_reponame=arch-pkg
|
_reponame=arch-pkg
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.4
|
pkgver=0.0.5
|
||||||
pkgrel=2
|
pkgrel=2
|
||||||
pkgdesc="Bash script to manage remote Arch Linux repository"
|
pkgdesc="Bash script to manage remote Arch Linux repository"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -31,13 +31,18 @@ function generate_index(){
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>privacy1st.de Arch Packages</h1>
|
<h1>privacy1st.de Arch Packages</h1>
|
||||||
|
<p>The sources can be found here: <a href="https://git.privacy1st.de/langfingaz/arch-pkg">https://git.privacy1st.de/langfingaz/arch-pkg</a></p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
' > index.html
|
' > index.html
|
||||||
|
|
||||||
for PKG in ./*.pkg.tar.{xz,zst}; do
|
for PKG in ./*.pkg.tar.{xz,zst}; do
|
||||||
echo "<p><a href=\"$PKG\">$PKG</a></p>" >> index.html;
|
echo "<li><a href=\"$PKG\">$PKG</a></li>" >> index.html;
|
||||||
done
|
done
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
</ul>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>' >> index.html
|
</html>' >> index.html
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user