mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-07-07 10:32:26 +02:00
Version 1.0
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
scriptname=$0
|
||||
scriptname=$(basename $0)
|
||||
identify="identify"
|
||||
|
||||
font_name=default
|
||||
font_name=$1
|
||||
|
||||
for f in textures/font_${font_name}_????.png
|
||||
do
|
||||
@ -46,3 +46,11 @@ font_lib.register_font(
|
||||
);
|
||||
" > font_$font_name.lua
|
||||
|
||||
if grep -q font_lib depends.txt &>/dev/null
|
||||
then
|
||||
echo "font_lib already in depends.txt."
|
||||
else
|
||||
echo "adding font_lib to depends.txt."
|
||||
echo "font_lib" >> depends.txt
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user