SW Download als role, kernel Bug

This commit is contained in:
Frank Schiebel 2024-02-03 16:42:19 +01:00
parent 29a5b8841e
commit 98bdbf9daa
21 changed files with 649 additions and 407 deletions

View file

@ -0,0 +1,19 @@
[Desktop Entry]
Name=FreeCAD Appimage
Name[de]=FreeCAD Appimage
Name[pl]=FreeCAD Appimage
Name[ru]=FreeCAD Appimage
Comment=Feature based Parametric Modeler Appimage
Comment[de]=Feature-basierter parametrischer Modellierer Appimage
Comment[ru]=Система автоматизированного проектирования Appimage
GenericName=CAD Application Appimage
GenericName[de]=CAD-Anwendung Appimage
GenericName[pl]=Aplikacja CAD Appimage
GenericName[ru]=Система автоматизированного проектирования Appimage
Exec=/opt/appimages/freecad/FreeCAD.AppImage - --single-instance %F
Terminal=false
Type=Application
Icon=org.freecadweb.FreeCAD
Categories=Graphics;Science;Education;Engineering;
StartupNotify=true
MimeType=application/x-extension-fcstd;model/obj;model/iges;image/vnd.dwg;image/vnd.dxf;model/vnd.collada+xml;application/iges;model/iges;model/step;model/step+zip;model/stl;application/vnd.shp;model/vrml;

View file

@ -0,0 +1,49 @@
---
- name: Create greenfoot/bluej version strings w/o points
set_fact:
bluejVersion: "{{ bluej_target_version | replace('.','') }}"
greenfootVersion: "{{ greenfoot_target_version | replace('.','') }}"
- name: Get download URIs
set_fact:
bluejURI: "{{ bluej_src_uri | replace ('VERSION', bluejVersion) }}"
greenfootURI: "{{ greenfoot_src_uri | replace ('VERSION', greenfootVersion) }}"
- name: Create target filenames
set_fact:
bluejTargetFile: /var/www/html/javadev/bluej-{{ bluej_target_version }}.deb
greenfootTargetFile: /var/www/html/javadev/greenfoot-{{ greenfoot_target_version }}.deb
- name: Check if greenfoot target-file exists
delegate_to: localhost
stat:
path: "{{ greenfootTargetFile }}"
register: gftf
- name: Check if bluej target-file exists
delegate_to: localhost
stat:
path: "{{ bluejTargetFile }}"
register: bjtf
- name: Download Greenfoot
delegate_to: localhost
command: wget {{ greenfootURI }} -O {{ greenfootTargetFile }}
when: not gftf.stat.exists
- name: Download Greenfoot
delegate_to: localhost
command: wget {{ greenfootURI }} -O {{ greenfootTargetFile }}
when: not gftf.stat.exists
- name: Check if freecad target-file exists
delegate_to: localhost
stat:
path: "{{ freecadTargetFile }}"
register: fctf
- name: Download FreeCAD AppImage
delegate_to: localhost
command: wget {{ freecadFullURI }} -O {{ freecadTargetFile }}
when: not fctf.stat.exists

View file

@ -0,0 +1,4 @@
---
- name: Download additional software
import_tasks:
file: download.yml