16 lines
263 B
Plaintext
16 lines
263 B
Plaintext
|
#
|
||
|
# 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
|