11 lines
416 B
Bash
Executable File
11 lines
416 B
Bash
Executable File
#!/bin/sh
|
|
|
|
install -c -s -o root -g bin -m 555 mksh /bin/mksh
|
|
grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells
|
|
|
|
[ -d /usr/share/doc/mksh/examples ] || mkdir -p /usr/share/doc/mksh/examples
|
|
install -c -o root -g bin -m 444 dot.mkshrc /usr/share/doc/mksh/examples/
|
|
|
|
[ -d /usr/share/man/man1/ ] || mkdir -p /usr/share/man/man1
|
|
install -c -o root -g bin -m 444 lksh.1 mksh.1 /usr/share/man/man1/
|