1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-10-15 16:45:35 +02:00
This commit is contained in:
Pierre-Yves Rollo
2025-10-02 20:12:03 +02:00
parent 0ec62a1732
commit 45a1d89502
2 changed files with 290 additions and 2 deletions

View File

@@ -31,14 +31,20 @@ fi
# check imagemagick
hash convert &>/dev/null
if [ $? -eq 1 ]; then
echo -e "Error: This program requires convert from ImageMagick! Please install it by typing 'sudo apt-get install imagemagick' in terminal."
echo -e "Error: This program requires convert from ImageMagick!"
abort=1
fi
hash montage &>/dev/null
if [ $? -eq 1 ]; then
echo -e "Error: This program requires montage from ImageMagick!"
abort=1
fi
# check ttx
hash ttx &>/dev/null
if [ $? -eq 1 ]; then
echo -e "Error: This program requires ttx from FontTools! Please install it by typing 'sudo apt-get install fonttools' in terminal."
echo -e "Error: This program requires ttx from FontTools!"
abort=1
fi