Update add_packages.sh

This commit is contained in:
krizsipeti 2024-02-22 00:51:38 +01:00 committed by GitHub
parent 6241931268
commit 47af675884
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,4 +33,4 @@ grep -qF qmplay2-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY qm
# Add SDL2_ttf
cp -fv general/graphlib/sdl2-ttf.xml ../blfs_root/blfs-xml/general/graphlib
grep -qF sdl2-ttf.xml ../blfs_root/blfs-xml/general/graphlib/graphlib.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sdl2-ttf.xml"/>' ../blfs_root/blfs-xml/general/graphlib/graphlib.xml
grep -qF sdl2-ttf-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY sdl2-ttf-version "2.20.1">' >> ../blfs_root/blfs-xml/packages.ent
grep -qF sdl2-ttf-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY sdl2-ttf-version "2.22.0">' >> ../blfs_root/blfs-xml/packages.ent