#!/bin/bash
HEADER='
Revol: Linux on the Psion Revo
Revol
Main |
Screenshots |
FAQ |
Downloads |
Links |
Development Stuff |
Packages
'
FOOTER='
Simon Howard.
I am not associated with Psion Digital.
'
(echo "$HEADER"; ./pkglist; echo "$FOOTER") > pkgdesc/pkglist.html
pkgs=$(grep ^Package: spkg/unstable/Packages | sed "s/Package: //")
export pkg
for pkg in $pkgs; do
(echo "$HEADER"; ./pkglist; echo "$FOOTER") > pkgdesc/$pkg.html
done