chiark / gitweb /
Initial push
[termux-packages] / packages / debianutils / remove-shell.patch
1 diff -u -r ../debianutils-4.4/remove-shell ./remove-shell
2 --- ../debianutils-4.4/remove-shell     2013-07-28 03:30:26.000000000 +0200
3 +++ ./remove-shell      2014-05-30 16:38:24.000000000 +0200
4 @@ -6,7 +6,7 @@
5         exit 1
6  fi
7  
8 -file=/etc/shells
9 +file=@TERMUX_PREFIX@/etc/shells
10  # I want this to be GUARANTEED to be on the same filesystem as $file
11  tmpfile=${file}.tmp
12  otmpfile=${file}.tmp2