summaryrefslogtreecommitdiff
path: root/extra/pdksh/pdksh.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pdksh/pdksh.install')
-rw-r--r--extra/pdksh/pdksh.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/pdksh/pdksh.install b/extra/pdksh/pdksh.install
index 844a4e731..17463a17e 100644
--- a/extra/pdksh/pdksh.install
+++ b/extra/pdksh/pdksh.install
@@ -1,5 +1,5 @@
post_install() {
- if [ ! "`grep /bin/ksh etc/shells`" ]; then
+ if [ ! "$(grep /bin/ksh etc/shells)" ]; then
echo "updating /etc/shells... done."
sed -i "s|/bin/bash|/bin/bash\n/bin/ksh|" etc/shells
else