2011-07-01 07:27:51 +00:00
|
|
|
case ${ACTION} in
|
|
|
|
pre)
|
2012-07-10 08:25:25 +00:00
|
|
|
# Create /bin/sh and /usr/bin/sh symlinks to /usr/bin/dash.
|
|
|
|
#
|
2011-07-01 07:27:51 +00:00
|
|
|
# It's expected that will make a dangling symlink, but once that
|
|
|
|
# dash is unpacked it will be ok.
|
2012-07-10 08:25:25 +00:00
|
|
|
cd usr/bin && ln -sf dash sh && ln -sf dash ../../bin/sh
|
2011-07-01 07:27:51 +00:00
|
|
|
;;
|
|
|
|
esac
|