Skip to content

Commit e7ceda1

Browse files
committed
Fix upgrade problem on dpkg systems
Any installed version of ThinLinc would have been accepted as the desired version with the previous code. The updated code explicitly checks for the wanted version.
1 parent 4cfd2da commit e7ceda1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/check_installed_deb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Checking whether ThinLinc is installed
3-
command: "/usr/bin/dpkg-query --list thinlinc-vsm"
3+
shell: "/usr/bin/dpkg-query --list thinlinc-vsm | grep -q {{ thinlinc_version }}-{{ thinlinc_build }}"
44
args:
55
warn: False
66
register: thinlinc_packages_installed

0 commit comments

Comments
 (0)