#!/bin/bash # # Mozilla Public License templater module. # # Parameters SHARE="$1" # Include basic functions source $SHARE/templater/functions || exit 1 # Mozilla License function templater_mpl { if [ ! -e "LICENSE" ]; then templater_echo "Setting up Mozilla Public License..." cp $SHARE/mpl/files/LICENSE . else templater_echo "LICENSE already set" fi } # Dispatch templater_mpl