~tardypad/alpine-system

ee07472b8428b84b188e19199545dbfe9bf9a0eb — Damien Tardy-Panis 5 months ago 1cc25f0
setup: remove manual creation of website directories

Taken care by the package installation now
1 files changed, 1 insertions(+), 7 deletions(-)

M setup/setup-1.sh
M setup/setup-1.sh => setup/setup-1.sh +1 -7
@@ 37,14 37,8 @@ mkdir /home/damien/.ssh
} > /home/damien/.ssh/authorized_keys
chown -R damien:damien /home/damien/.ssh

# prepare websites directories for deployment
for site in check files main pkgs status; do
  mkdir -p "/srv/http/$site"
  chown damien:damien "/srv/http/$site"
done

# prepare general home directories
for d in backup bin repos; do
for d in backup repos; do
  mkdir -p "/home/damien/$d"
  chown damien:damien "/home/damien/$d"
done