4 # make git-shell a valid shell
5 if ! grep -qe '^/usr/bin/git-shell$' etc
/shells
; then
6 echo '/usr/bin/git-shell' >> etc
/shells
10 # do not modify user settings (shell) in post-upgrade function!
13 sed -i -r '/^\/usr\/bin\/git-shell$/d' etc
/shells