mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-11-22 15:33:52 +01:00
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
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user