1
0
mirror of https://github.com/mt-mods/unifieddyes.git synced 2024-12-24 09:40:29 +01:00

added quick sanity checks to gentextures.sh, to make sure imagemagick and bc

are really there.
This commit is contained in:
Vanessa Ezekowitz 2012-08-01 02:38:54 -04:00
parent 821e64db90
commit 78da946a40

View File

@ -1,5 +1,15 @@
#!/bin/bash
if [ -z "`which convert`"] ; then {
echo "Please install Imagemagick."
exit 1
}
if [ -z "`which bc`"] ; then {
echo "Please install GNU bc."
exit 1
}
if [ $1 = "-t" ] ; then {
TINT_OVERLAY=$1
BASE=$2