diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2019-02-08 20:55:26 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-08 20:55:26 +0700 |
commit | 5b6792910552a5abe9f81bd68c6eaf0f0baafb81 (patch) | |
tree | f2976046d841c032f7ef5abf08bc579137b50823 /system/posh/doinst.sh | |
parent | 329245f397a3551f5eb2040c9f8edac62483da83 (diff) | |
download | slackbuilds-5b6792910552a5abe9f81bd68c6eaf0f0baafb81.tar.gz slackbuilds-5b6792910552a5abe9f81bd68c6eaf0f0baafb81.tar.xz |
system/posh: Added doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/posh/doinst.sh')
-rw-r--r-- | system/posh/doinst.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/posh/doinst.sh b/system/posh/doinst.sh new file mode 100644 index 0000000000..6910686719 --- /dev/null +++ b/system/posh/doinst.sh @@ -0,0 +1,8 @@ +if [ ! -r etc/shells ]; then + touch etc/shells + chmod 644 etc/shells +fi + +if ! grep -q /bin/posh etc/shells ; then + printf %s\\n /bin/posh >> etc/shells +fi |