void-packages/srcpkgs/dash/INSTALL

9 lines
255 B
Text

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