#!/bin/bash
set -xeuo pipefail
# This script copies the manifests from the current directory
# into their installed location.
manifestdir=${1:-/usr/share/doc/bootc-base-imagectl/manifests}
mkdir -p "$manifestdir/"

cp oracle-minimal.yaml $manifestdir/
cp -r oracle-includes $manifestdir/
cp -r minimal $manifestdir/

# Set the default
ln -s oracle-minimal.yaml $manifestdir/default.yaml
