blob: a1de1fede20a1b642a4cc7f265b16d56064e0185 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
post_install() {
if ! grep -qe '^/usr/bin/git-shell$' etc/shells; then
echo '/usr/bin/git-shell' >> etc/shells
fi
}
post_remove() {
sed -i -r '/^\/usr\/bin\/git-shell$/d' etc/shells
}
|