Skip to content

Commit

Permalink
Install evince in sd-svs-disp-template
Browse files Browse the repository at this point in the history
Minimal debian-9 install in securedrop-workstation template no longer contains evince. It is required to open PDF files.
  • Loading branch information
emkll committed Jul 12, 2019
1 parent 2c1b543 commit 9b4bd53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions dom0/sd-svs-disp-files.sls
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ sd-svs-disp-install-mimetype-handler-package:
pkg.installed:
- pkgs:
- securedrop-workstation-svs-disp
- evince
- require:
- sls: fpf-apt-test-repo

Expand Down
4 changes: 4 additions & 0 deletions tests/test_svs_disp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ def test_sd_svs_disp_config_package_installed(self):
pkg = "securedrop-workstation-svs-disp"
self.assertTrue(self._package_is_installed(pkg))

def test_sd_svs_disp_evince_installed(self):
pkg = "evince"
self.assertTrue(self._package_is_installed(pkg))

def test_sd_svs_disp_libreoffice_installed(self):
self.assertTrue(self._package_is_installed("libreoffice"))

Expand Down

0 comments on commit 9b4bd53

Please sign in to comment.