evolution-packages/srcpkgs/evolution-patches/INSTALL

25 lines
512 B
Plaintext
Raw Normal View History

2023-09-05 17:28:40 +01:00
#!/bin/busybox ash
2023-09-01 00:38:35 +01:00
case "$ACTION" in
post)
2023-11-13 22:52:31 +00:00
sed -i 's/SHELL=\/bin\/bash/SHELL=\/bin\/ash/' /etc/default/useradd
2023-09-05 17:28:40 +01:00
# Check if busybox is in the system
if command -v busybox >/dev/null 2>&1; then
for i in $(busybox --list-full); do
if [ -e "/$i" ]; then
2023-10-29 15:34:13 +00:00
:
2023-09-05 17:28:40 +01:00
else
busybox echo "Creating symlink from /bin/busybox to $i"
busybox ln -s "/usr/bin/busybox" "/$i"
fi
done
else
busybox echo "Busybox is not installed or not in the system."
fi
2023-09-01 00:38:35 +01:00
esac