#!/bin/sh

common() {
	bootpath="$(wii-boot-path)"
	instpath="/usr/lib/bootmii"

	mkdir -p "${bootpath}/bootmii"
	cp "${instpath}/ppcboot.elf" "${bootpath}/bootmii/gui.elf"
}

post_install() {
	common
}

post_upgrade() {
	common
}
