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

13 lines
348 B
Diff

diff -u -r ../debianutils-4.4/add-shell ./add-shell
--- ../debianutils-4.4/add-shell 2013-07-28 03:30:26.000000000 +0200
+++ ./add-shell 2014-05-30 16:07:00.000000000 +0200
@@ -6,7 +6,7 @@
exit 1
fi
-file=/etc/shells
+file=@TERMUX_PREFIX@/etc/shells
# I want this to be GUARANTEED to be on the same filesystem as $file
tmpfile=${file}.tmp