summaryrefslogtreecommitdiffstats
path: root/system/yash/doinst.sh
diff options
context:
space:
mode:
author Hunter Sezen <orbea@fredslev.dk>2019-02-08 20:56:34 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-08 20:56:34 +0700
commita71ce2cf6011f351366afb4013f4a58e044694ea (patch)
tree1f52408e08c1e41eb4fb126fbbce75f05418160a /system/yash/doinst.sh
parent5b6792910552a5abe9f81bd68c6eaf0f0baafb81 (diff)
downloadslackbuilds-a71ce2cf6011f351366afb4013f4a58e044694ea.tar.gz
slackbuilds-a71ce2cf6011f351366afb4013f4a58e044694ea.tar.xz
system/yash: Added doinst.sh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/yash/doinst.sh')
-rw-r--r--system/yash/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/yash/doinst.sh b/system/yash/doinst.sh
new file mode 100644
index 0000000000..0c3b7b70e9
--- /dev/null
+++ b/system/yash/doinst.sh
@@ -0,0 +1,8 @@
+if [ ! -r etc/shells ]; then
+ touch etc/shells
+ chmod 644 etc/shells
+fi
+
+if ! grep -q /bin/yash etc/shells ; then
+ printf %s\\n /bin/yash >> etc/shells
+fi