void-packages/srcpkgs/dash/INSTALL

10 lines
255 B
Text
Raw Normal View History

case ${ACTION} in
pre)
# Create /bin/sh and /usr/bin/sh symlinks to /usr/bin/dash.
#
# It's expected that will make a dangling symlink, but once that
# dash is unpacked it will be ok.
cd usr/bin && ln -sf dash sh && ln -sf dash ../../bin/sh
;;
esac