dataset/seed/roundcube/manual/image/postinstall/roundcube.sh
2022-12-25 17:08:52 +01:00

8 lines
299 B
Bash

#!/bin/bash -ex
echo """#!/bin/bash -e
/usr/bin/chgrp nginx /etc/roundcubemail/*
""" > "$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"