From 17f803513263f1488f344424ca01b1c3f95e2df0 Mon Sep 17 00:00:00 2001 From: rusty-snake Date: Sat, 1 Jun 2019 20:19:01 +0000 Subject: Create allow-INTERPETER.inc (#2736) * Create allow-INTERPETER.inc * allow-lua.inc * allow-perl.inc * allow-python2.inc * allow-python3.inc * Create allow-java.inc * Update profiles to use new allow-INTERPRETER.inc includes * Update profiles to use new allow-INTERPRETER.inc includes 2/x * Fix order of allow-INTERPRETER.inc includes * Update profiles to use new allow-INTERPRETER.inc includes 3/x * Fixup comment about allow-java.inc https://github.com/netblue30/firejail/pull/2736#discussion_r289597997 * Add Arch Linux specific paths to allow-perl.inc --- etc/ranger.profile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'etc/ranger.profile') diff --git a/etc/ranger.profile b/etc/ranger.profile index 1e50ca9fa..13e8911ea 100644 --- a/etc/ranger.profile +++ b/etc/ranger.profile @@ -11,18 +11,11 @@ noblacklist ${HOME}/.config/ranger noblacklist ${HOME}/.nanorc # Allow python (blacklisted by disable-interpreters.inc) -noblacklist ${PATH}/python2* -noblacklist ${PATH}/python3* -noblacklist /usr/lib/python2* -noblacklist /usr/lib/python3* -noblacklist /usr/local/lib/python2* -noblacklist /usr/local/lib/python3* +include allow-python2.inc +include allow-python3.inc # Allow perl -# noblacklist ${PATH}/cpan* -noblacklist ${PATH}/perl -noblacklist /usr/lib/perl* -noblacklist /usr/share/perl* +include allow-perl.inc include disable-common.inc include disable-devel.inc -- cgit v1.2.3-54-g00ecf