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

13 lines
381 B
Diff

diff -u -r ../debianutils-4.4/remove-shell ./remove-shell
--- ../debianutils-4.4/remove-shell 2013-07-28 03:30:26.000000000 +0200
+++ ./remove-shell 2014-05-30 16:38:24.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
otmpfile=${file}.tmp2