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