mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 10:25:39 +00:00
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:
parent
937d315641
commit
29d6709ede
2 changed files with 3 additions and 12 deletions
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
FIREJAIL=""
|
||||
|
||||
hash firejail 2> /dev/null
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
FIREJAIL=firejail
|
||||
fi
|
||||
|
||||
$FIREJAIL /usr/bin/zathura \"$@\"
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue