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