termux-packages/packages/debianutils/add-shell.patch

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