Skip to content
Snippets Groups Projects
Commit e4776858 authored by Vagrant Cascadian's avatar Vagrant Cascadian
Browse files

reproducible Debian: Report the /bin/sh symlink after the change

parent d0bba554
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@ export CAPTURE_ENVIRONMENT="I capture the environment"
echo "I: Changing /bin/sh to bash" >&2
echo "dash dash/sh boolean false" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
# Display the /bin/sh link to check if it actually changed
ls -l /bin/sh >&2
if [ -n "$BUILDUSERNAME" ] ; then
echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
usermod -s /bin/bash $BUILDUSERNAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment