void-packages/templates/dash/REMOVE

16 lines
263 B
Plaintext
Raw Normal View History

#
# This script remove the /bin/sh symlink to /bin/dash
# and makes a new one to /bin/bash if available.
#
case "${ACTION}" in
pre)
if [ -x ./bin/bash ]; then
echo "Creating /bin/sh -> /bin/bash symlink..."
cd ./bin && ln -sf bash sh
fi
;;
post)
;;
esac