summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-bookworm-su-fix
blob: 1fa76be156213630c6a9808a7629863f05cb68e7 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
for file in /root/config/*; do [ -r $file ] && . $file; done

if [ "$LB_DISTRIBUTION" = "bookworm" ]; then

# force old su behaviour
echo "ALWAYS_SET_PATH yes" >>/etc/default/su

fi