#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 noexpandtab filetype=sh:

# --- Setting up the share volume
if [[ ! -d /srv/A2SERVER ]]; then
	echo "A2SERVER: Preparing the shared files volume..."
	mygroup="$(id -ng)"
	sudo install -d -m 755 -u "$USER" -g "$mygroup" "/srv/A2SERVER"
else
	echo "A2SERVER: Shared volume is already prepared for use."
fi
