This commit is contained in:
Aode 2020-01-31 19:35:15 -06:00
parent 43116120bf
commit 44a9ded911

View file

@ -5,22 +5,22 @@ VERSION=$1
PIXELFED_RELEASE=$2
function require() {
if [ "$1" = "" ]; then
echo "input '$2' required"
print_help
exit 1
fi
if [ "$1" = "" ]; then
echo "input '$2' required"
print_help
exit 1
fi
}
function print_help() {
echo "build.sh"
echo ""
echo "Usage:"
echo " build.sh [version] [pixelfed_release]"
echo ""
echo "Args:"
echo " version: The version of the current container"
echo " pixelfed_release: The release of pixelfed to include"
echo "build.sh"
echo ""
echo "Usage:"
echo " build.sh [version] [pixelfed_release]"
echo ""
echo "Args:"
echo " version: The version of the current container"
echo " pixelfed_release: The release of pixelfed to include"
}
function build_image() {