Commit b897fcb3 authored by samira.fatehi's avatar samira.fatehi
Browse files

Update Opera18 to Opera 2020

parent 1b049add
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=opera_manager
GenericName[en_US]=
GenericName=
Icon=/usr/local/share/Opera_18R2/code/bin/Opera.png
MimeType=
Name[en_US]=Opera Manager
Name=Opera Manager
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
......@@ -7,7 +7,7 @@ export VFGRAPHICS="NONE"
# [ -d opera_logs ] && rm -Rf opera_logs
${VFDIR}/bin/post -local $1
${VFDIR}/bin/operafea-post -local $1
# -nowindow
#readtrack $2
......@@ -7,5 +7,5 @@ export VFGRAPHICS="NONE"
# [ -d opera_logs ] && rm -Rf opera_logs
$VFDIR/bin/modeller -local $1
$VFDIR/bin/operafea-modeller -local $1
# -nodisplay
......@@ -7,7 +7,7 @@ export VFGRAPHICS="NONE"
# [ -d opera_logs ] && rm -Rf opera_logs
${VFDIR}/bin/post -local $1
${VFDIR}/bin/operafea-post -local $1
# -nowindow
#readtrack $2
export LMX_LICENSE_PATH=@opera.las.kit.edu
export VECTORFIELD_LICENSE_PATH=@opera.las.kit.edu
export VFDIR=/usr/local/share/Opera_18R2/code/
export VFDIR=/usr/local/share/Opera_2020/code/
# This causes git to not work properly anymore (e.g. git pull --rebase)
# export PATH=/usr/local/share/Opera_17R1/bin:"${PATH}"
alias opera_manager="${VFDIR}bin/opera_manager"
alias opera_manager="${VFDIR}bin/operafea-manager"
......@@ -6,9 +6,9 @@
- name: copy Opera files to local machine
become: yes
become_user: gethmann # Hack since root is not allowed to view /mnt/las-archiv1
become_user: fatehi # Hack since root is not allowed to view /mnt/las-archiv1
copy:
src: /mnt/las-archiv1/system/Opera/18/Opera_RHEL7.tar.bz
src: /mnt/las-archiv1/system/Opera_RHEL7.tar.bz2
dest: /tmp
remote_src: yes
when: not stat_result.stat.exists
......@@ -16,15 +16,15 @@
- name: unzip Opera
become: yes
unarchive:
src: /tmp/Opera_RHEL7.tar.bz
src: /tmp/Opera_RHEL7.tar.bz2
dest: /usr/local/share/
creates: "{{ opera_path }}/code/bin/opera_manager"
creates: "{{ opera_path }}/code/bin/operafea-manager"
remote_src: yes
- name: install dependencies
become: yes
dnf:
name: ['libpng15', 'xcb-util-image', 'xcb-util-wm', 'xcb-util-keysyms', 'xcb-util-renderutil', 'xterm', 'pcre-utf16', '@GNOME']
name: ['libpng15', 'xcb-util-image', 'xcb-util-wm', 'xcb-util-keysyms', 'xcb-util-renderutil', 'xterm', 'pcre-utf16', 'hwloc-libs', 'mesa-libGLU' ,'@GNOME']
state: present
when: (ansible_distribution == "Fedora" and (ansible_distribution_major_version|int) >= 24)
tags: deps
......@@ -75,27 +75,6 @@
notify: ldconfig
when: (ansible_distribution == "Fedora" and (ansible_distribution_major_version | int) >= 22)
- name: install RHEL 6 deps
become: yes
dnf:
name: hwloc
state: present
when:
(ansible_distribution == "CentOS" and (ansible_distribution_major_version|int) == 6) or
(ansible_distribution == "RHEL" and (ansible_distribution_major_version|int) == 6)
tags: deps
- name: install RHEL 7 deps
become: yes
dnf:
name: hwloc-libs
state: present
when:
(ansible_distribution == "CentOS" and (ansible_distribution_major_version|int) == 7) or
(ansible_distribution == "RHEL" and (ansible_distribution_major_version|int) == 7) or
(ansible_distribution == "Fedora" and (ansible_distribution_major_version|int) >= 24)
tags: deps
- name: copy profile.d
become: yes
copy:
......@@ -117,14 +96,3 @@
- "opera-mod.sh"
- "opera-post.sh"
- "opera-manager"
- name: create Desktop link to the opera_manager
become: yes
copy:
src: "Opera Manager.desktop"
dest: "/home/{{ user_account }}/Desktop/"
owner: "{{ user_account }}"
group: users
mode: 0744
backup: no
ignore_errors: yes
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