mirror of
https://github.com/RasppleII/a2server.git
synced 2024-06-12 22:29:28 +00:00
f1b141bd9c
1-storage included a block that moved /media/A2SHARED (which was a nono for us to use under FHS) to /srv/A2SERVER. This has now been moved to fixup.
12 lines
351 B
Bash
Executable File
12 lines
351 B
Bash
Executable File
#! /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
|