projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff01f4c
)
added mksh to /etc/shells (#1685)
author
ryd
<ryd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 May 2007 23:08:52 +0000
(23:08 +0000)
committer
ryd
<ryd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 May 2007 23:08:52 +0000
(23:08 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7219
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
utils/mksh/Makefile
patch
|
blob
|
history
diff --git
a/utils/mksh/Makefile
b/utils/mksh/Makefile
index
2d0ad6e
..
cf3c818
100644
(file)
--- a/
utils/mksh/Makefile
+++ b/
utils/mksh/Makefile
@@
-39,6
+39,12
@@
define Build/Compile
$(BASH) Build.sh -d -r
endef
+define Package/mksh/postinst
+#!/bin/sh
+grep mksh $${IPKG_INSTROOT}/etc/shells || \
+ echo "/bin/mksh" >> $${IPKG_INSTROOT}/etc/shells
+endef
+
define Package/mksh/install
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) $(PKG_BUILD_DIR)/dot.mkshrc $(1)/etc/mkshrc