Commit b8d06a69 authored by julian.gethmann's avatar julian.gethmann
Browse files

Update names of the LaTeX font system

parent 9dfb4957
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
state: directory state: directory
- name: copy tex files - name: copy tex files
become: yes
copy: copy:
src: "{{ item }}" src: "{{ item }}"
dest: "{{ texpath }}/tex/latex/KIT/" dest: "{{ texpath }}/tex/latex/KIT/"
become: yes
remote_src: yes remote_src: yes
notify: notify:
- update latex - update latex
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- name: Check installed fonts - name: Check installed fonts
become: yes become: yes
command: sudo su -c "/usr/local/bin/getnonfreefonts-sys -l | grep 'not installed'" command: sudo su -c "/usr/local/bin/getnonfreefonts --sys -l | grep 'not installed'"
register: all_fonts register: all_fonts
changed_when: all_fonts.rc == 0 changed_when: all_fonts.rc == 0
ignore_errors: yes ignore_errors: yes
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
become: yes become: yes
environment: environment:
PATH: "{{ lookup('env', 'PATH') }}" PATH: "{{ lookup('env', 'PATH') }}"
command: sudo su -c "/usr/local/bin/getnonfreefonts-sys -a" command: sudo su -c "/usr/local/bin/getnonfreefonts --sys -a"
args: args:
warn: False warn: False
when: all_fonts.changed when: all_fonts.changed
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
environment: environment:
PATH: "{{ lookup('env', 'PATH') }}" PATH: "{{ lookup('env', 'PATH') }}"
become: yes become: yes
command: sudo su -c "/usr/local/bin/getnonfreefonts-sys -r" command: sudo su -c "/usr/local/bin/getnonfreefonts --sys -r"
when: all_fonts.changed when: all_fonts.changed
- name: flush handlers - name: flush handlers
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
tags: install tags: install
- import_tasks: LaTeXfonts.yml - import_tasks: LaTeXfonts.yml
tags: fonts tags: fonts
# - import_tasks: KITLaTeX.yml - import_tasks: KITLaTeX.yml
# tags: kit tags: kit
- import_tasks: AxelsBST.yml - import_tasks: AxelsBST.yml
- import_tasks: dpg.yml - import_tasks: dpg.yml
- import_tasks: neo2.yml - import_tasks: neo2.yml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment