forked from mtcontrib/unifieddyes
added quick sanity checks to gentextures.sh, to make sure imagemagick and bc
are really there.
This commit is contained in:
parent
821e64db90
commit
78da946a40
@ -1,5 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/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 {
|
if [ $1 = "-t" ] ; then {
|
||||||
TINT_OVERLAY=$1
|
TINT_OVERLAY=$1
|
||||||
BASE=$2
|
BASE=$2
|
||||||
|
Loading…
Reference in New Issue
Block a user