 #!/bin/sh
. ./01_SetVariables.sh
[ "$(id -u)" -eq 0 ] && echo "Run this script as regular user." && exit
# Write the metadata
printf "%b" "Write the metadata. This takes a while...\n"
( cd "$ISODIR" || exit
printf "%b" "Running metagen all...\n"
sh "$CWD/metagen.sh" all
printf "%b" "Running metagen clean...\n"
sh "$CWD/metagen.sh" clean
printf "%b" "Running metagen md5...\n"
sh "$CWD/metagen.sh" md5
)
cp "$SLINTROOT"/GPG-KEY "$ISODIR"
echo Metadata have been written.
