vp-build/templates/dash/INSTALL
Juan RP 36c84fe45b dash: some fixes for /bin/sh symlink.
1) Always create /bin/sh symlink at post-installation.
2) If dash is going to be removed, make /bin/sh a symlink
   to /bin/bash, if it exists otherwise it will be dangled.

This fixes the update of the dash package.

Bump revision.

--HG--
extra : convert_revision : 38586de9f72d0b5f4c7498dbef3709d77f4f07db
2009-05-06 07:17:33 +02:00

13 lines
171 B
Plaintext

#
# This script creates the /bin/sh symlink to /bin/dash.
#
case "${ACTION}" in
pre)
;;
post)
echo "Creating /bin/sh symlink..."
cd ./bin && ./ln -sf dash sh
;;
esac