round2 of gmg install
[fai-configs.git] / scripts / GMG / 10_create_dir.sh
... / ...
CommitLineData
1#!/bin/bash
2
3if [ ! -d $GMG_PATH ]; then
4 $ROOTCMD mkdir -p $GMG_PATH && $ROOTCMD chown -hR mediagoblin:www-data $GMG_PATH
5fi
6if [ ! -d $GMG_LOGPATH ]; then
7 $ROOTCMD mkdir -p $GMG_LOGPATH && $ROOTCMD chown -hR mediagoblin:mediagoblin $GMG_LOGPATH
8fi
9