termux-packages/packages/ranger/ranger.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

25 lines
1.1 KiB
Diff

diff -u -r ../ranger-1.7.0/ranger/config/commands.py ./ranger/config/commands.py
--- ../ranger-1.7.0/ranger/config/commands.py 2015-04-13 18:25:24.000000000 -0400
+++ ./ranger/config/commands.py 2015-04-25 04:11:34.899100939 -0400
@@ -868,7 +868,7 @@
script_was_edited = (script_content != cmdfile.read())
# Do the renaming
- self.fm.run(['/bin/sh', cmdfile.name], flags='w')
+ self.fm.run(['/system/bin/sh', cmdfile.name], flags='w')
cmdfile.close()
# Retag the files, but only if the script wasn't changed during review,
diff -u -r ../ranger-1.7.0/ranger/ext/rifle.py ./ranger/ext/rifle.py
--- ../ranger-1.7.0/ranger/ext/rifle.py 2015-04-13 18:25:24.000000000 -0400
+++ ./ranger/ext/rifle.py 2015-04-25 04:10:19.259100887 -0400
@@ -341,7 +341,7 @@
if 'r' in flags:
prefix = ['sudo', '-E', 'su', '-mc']
else:
- prefix = ['/bin/sh', '-c']
+ prefix = ['/system/bin/sh', '-c']
cmd = prefix + [command]
if 't' in flags: