use symlink invocation for zathura firejail

Existing users will need to remove the old script first.

    # rm /usr/local/bin/zathura
This commit is contained in:
Pig Monkey 2016-04-03 15:41:24 -07:00
parent 937d315641
commit 29d6709ede
2 changed files with 3 additions and 12 deletions

View file

@ -1,11 +0,0 @@
#!/bin/sh
FIREJAIL=""
hash firejail 2> /dev/null
if [ $? -eq 0 ]; then
FIREJAIL=firejail
fi
$FIREJAIL /usr/bin/zathura \"$@\"

View file

@ -23,7 +23,9 @@
- zathura-ps
- name: Jail Zathura
copy: src=zathura.sh dest=/usr/local/bin/zathura mode=0755
file: src=/usr/bin/firejail
dest=/usr/local/bin/zathura
state=link
tags:
- firejail