...
 
Commits (3)
HeaderName header.html
ReadmeName footer.html
Options +Indexes
<IfModule mod_autoindex.c>
IndexOptions NameWidth=* FancyIndexing
</ifModule>
<!DOCTYPE html>
<html>
<head>
<title>mel.vin debian repository</title>
</head>
<h1>mel.vin debian repository</h1>
<p>
For documentation refer to <a href="https://git.mel.vin/debian/repo">debian/repo
on git.mel.vin</a>.
For documentation refer to <a href="https://git.mel.vin/debian/repo">
git.mel.vin/debian/repo</a>.
</p>
</html>
#!/bin/sh
{
printf '%s\n' \
'<style type="text/css">
'<html>
<style type="text/css">
table, td {
border: 1px solid #333;
}
......@@ -45,15 +46,15 @@ sed -ne 's/^Codename: //p' conf/distributions | while IFS= read -r i; do
done
printf '%s\n' \
'<i>Tables generated by rsync.sh.</i>'
'<i>Tables generated by rsync.sh.</i>
</html>'
} > footer.html
rsync -a -v --delete-after \
header.html \
footer.html \
.htaccess \
dists \
pool \
melvin@mel.vin:/srv/http/mel.vin/debian
melvin@mel.vin:/var/www/mel.vin/debian
rm footer.html