forked from k0gen/Veritaryzm
Dodatki i ulepszenia
This commit is contained in:
5
Justfile
5
Justfile
@@ -38,8 +38,11 @@ setup-deps:
|
||||
command -v gpg &>/dev/null || { echo "Brak gpg: brew install gnupg"; err=1; }
|
||||
[ $err -eq 1 ] && exit 1
|
||||
missing=""
|
||||
# Sprawdzamy dostępność plików .sty używając kpsewhich (standardowy sposób)
|
||||
for pkg in tocloft fontspec selnolig; do
|
||||
tlmgr list --only-installed 2>/dev/null | grep -q "$pkg" || missing="$missing $pkg"
|
||||
if ! kpsewhich ${pkg}.sty &>/dev/null; then
|
||||
missing="$missing $pkg"
|
||||
fi
|
||||
done
|
||||
if [ -n "$missing" ]; then
|
||||
echo "Instaluję pakiety LaTeX:$missing"
|
||||
|
||||
Reference in New Issue
Block a user