Skip to content

Commit

Permalink
support download SecBrowser in Qubes TemplateVM
Browse files Browse the repository at this point in the history
by creating either file:
- /etc/secbrowser-qubes
- /usr/local/etc/secbrowser-qubes
  • Loading branch information
Patrick Schleizer committed Jul 13, 2019
1 parent 4048cd1 commit ff33e22
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion debian/tb-updater.postinst
Expand Up @@ -39,11 +39,17 @@ if ischroot --default-false ; then
chroot_maybe="--is-chroot"
fi

if [ -f /etc/secbrowser-qubes ] || [ -f /usr/local/etc/secbrowser-qubes ]; then
tool=download-secbrowser
else
tool=update-torbrowser
fi

## TODO:
#tpo_downloader_debug="$tpo_downloader_debug"

runuser --preserve-environment -u user -- \
update-torbrowser \
$tool \
$chroot_maybe \
--postinst

Expand Down

0 comments on commit ff33e22

Please sign in to comment.