#!/bin/bash

source debian/vars.sh

# Common UI folders
install -d -m 755 $buildroot$_ulc/base
install -d -m 755 $buildroot$_ulc/base/frontend
# Jupiter Banner
install -d -m 755 $buildroot$_ulc/base/frontend/jupiter
install -d -m 755 $buildroot$_ulc/base/frontend/jupiter/banners
install -D -m 644 $SOURCE0 $buildroot$_ulc/base/frontend/jupiter/_assets/banner.html.tt
install -D -m 644 $SOURCE1 $buildroot$_ulc/base/frontend/jupiter/banners/banner.css
install -D -m 644 $SOURCE2 $buildroot$_ulc/base/frontend/jupiter/banners/banner.js
install -D -m 644 $SOURCE3 $buildroot$_ulc/base/frontend/jupiter/banners/def_banner.ptt
# Webmail Banner
install -d -m 755 $buildroot$_ulc/base/webmail/jupiter
install -d -m 755 $buildroot$_ulc/base/webmail/jupiter/banners
install -D -m 644 $SOURCE4 $buildroot$_ulc/base/webmail/jupiter/_assets/banner.html.tt
install -D -m 644 $SOURCE5 $buildroot$_ulc/base/webmail/jupiter/banners/banner.css
install -D -m 644 $SOURCE6 $buildroot$_ulc/base/webmail/jupiter/banners/banner.js
install -D -m 644 $SOURCE7 $buildroot$_ulc/base/webmail/jupiter/banners/def_banner.ptt
# Whostmgr Banner
install -d -m 755 $buildroot$_ulc/whostmgr/docroot/templates
install -d -m 755 $buildroot$_ulc/whostmgr/docroot/templates/banners
install -D -m 644 $SOURCE8 $buildroot$_ulc/whostmgr/docroot/templates/banners/banner.css
install -D -m 644 $SOURCE9 $buildroot$_ulc/whostmgr/docroot/templates/banners/banner.js
install -D -m 644 $SOURCE10 $buildroot$_ulc/whostmgr/docroot/templates/banners/def_banner.ptt
install -D -m 644 $SOURCE11 $buildroot$_ulc/whostmgr/docroot/templates/master_templates/banner.tmpl
# Template Plugin
install -D -m 644  $SOURCE12 $buildroot$_ulc/Cpanel/Template/Plugin/Banner.pm
