#!/usr/bin/with-contenv bash

##################
# SYMLINK CONFIG #
##################

# If config doesn't exist, create it
if [ ! -d /data/config ]; then
  mv /gallery/local/config /data
  mkdir -p /gallery/local/config
  ln -s /data/config /gallery/local/config
fi
