Fix check as it's actually a link not a file.

This commit is contained in:
TheSpad 2022-11-09 14:40:05 +00:00
parent cc39bc8851
commit ce1008c48a
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -7,7 +7,7 @@ mkdir -p \
/gallery/galleries
# Migrate old data
if [[ -f /config/www/gallery ]]; then
if [[ -L /config/www/gallery ]]; then
echo "*******************************************************************************"
echo ""
echo "Migrating old install..."