archrelease: copy trunk to extra-x86_64
[arch-packages.git] / git / trunk / git.install
blob453050dfc693e588a0888bf806aac49ed8d3429c
1 #!/bin/sh
3 post_install() {
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
7 fi
10 # do not modify user settings (shell) in post-upgrade function!
12 post_remove() {
13 sed -i -r '/^\/usr\/bin\/git-shell$/d' etc/shells