Commit f08aa432 authored by Lorenzo Faletra's avatar Lorenzo Faletra

add apt post-invoke script for firejail

parent c24126bf
parrot-core (3.9.171031) testing; urgency=medium
* Add dedicated apt post-invoke script for firejail sandbox profiles.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Tue, 31 Oct 2017 22:40:36 +0100
parrot-core (3.9.171030) testing; urgency=medium
* Move firecfg trigger to postinst.
......
DPkg::Post-Invoke { "[ ! -x /usr/bin/sandbox-config ] || /usr/bin/sandbox-config || true"; }
#!/bin/bash
#
# Copyright 2017 Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
#
echo "Configuring sandbox profiles...."
[ ! -x /usr/bin/firecfg ] || /usr/bin/firecfg > /dev/null || true
echo "Sandbox profiles updated!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment