Commit 4275ac3f authored by Lorenzo Faletra's avatar Lorenzo Faletra

update sandbox management scripts

parent e7e06796
parrot-core (4.7.190718) rolling-testing; urgency=medium
* Move sandbox launchers from /usr/local/bin to /sandbox.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Thu, 18 Jul 2019 11:49:27 +0200
parrot-core (4.7.190703) testing; urgency=medium
* Fix PS1 in bashrc
......
......@@ -5,7 +5,7 @@ Maintainer: Parrot Dev Team <team@parrotsec.org>
Uploaders: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>,
Lisetta "Sheireen" Ferrero <sheireen@parrotsec.org>
Standards-Version: 4.2.0
Build-Depends: debhelper (>= 10)
Build-Depends: debhelper (>= 10), golang-go
Build-Depends-Indep: pkg-config
Homepage: https://www.parrotsec.org/
......@@ -22,6 +22,7 @@ Depends: apt-parrot,
resolvconf,
screen,
whois,
curl,
Recommends: firejail,
firejail-profiles,
apparmor,
......@@ -29,10 +30,6 @@ Recommends: firejail,
apparmor-profiles-extra,
apparmor-utils,
sysv-rc,
lshw,
locales,
localization-config,
init-system-helpers,
locate
Suggests: parrot-interface, parrot-tools | parrot-tools-cloud | parrot-tools-arm | parrot-interface-full, parrot-drivers, plymouth, plymouth-themes
Replaces: bash, base-files, xterm, parrot-skel, dnsmasq, parrot-interface-common, resolvconf
......
......@@ -18,5 +18,5 @@
# MA 02110-1301, USA.
#
echo "Configuring sandbox profiles...."
[ ! -x /usr/bin/firecfg ] || /usr/bin/firecfg > /dev/null || true
[ ! -x /usr/bin/update-sandbox-launchers ] || /usr/bin/update-sandbox-launchers || true
echo "Sandbox profiles updated!"
......@@ -46,7 +46,7 @@ func main() {
// create new launchers
for _, jj := range launchers {
content := fmt.Sprintf("#!/usr/bin/env xdg-open\n[Desktop Entry]\nEncoding=UTF-8\nIcon=parrot-menu.png\nStartupNotify=false\nType=Application\nCategories=sandbox\nTerminal=true\nName=%s\nExec=%s\n", jj.name, jj.exec)
content := fmt.Sprintf("#!/usr/bin/env xdg-open\n[Desktop Entry]\nEncoding=UTF-8\nIcon=parrot-menu.png\nStartupNotify=false\nType=Application\nCategories=sandbox\nTerminal=true\nName=%s (sandboxed)\nExec=%s\n", jj.name, jj.exec)
f, err := os.Create(jj.filename)
if err != nil {
......
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