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