dataset/seed/roundcube/manual/image/postinstall/roundcube.sh

9 lines
299 B
Bash
Raw Normal View History

2022-05-04 10:29:03 +02:00
#!/bin/bash -ex
echo """#!/bin/bash -e
/usr/bin/chgrp nginx /etc/roundcubemail/*
2022-12-25 17:08:52 +01:00
""" > "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/install.sh"
chmod +x "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/install.sh"
chroot "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP" /install.sh
rm -f "$IMAGE_NAME_RISOTTO_IMAGE_DIR_TMP/install.sh"