Merge pull request #1103 from seebaer1976/patch-6

Update preinst
This commit is contained in:
Isaac Connor 2015-10-16 12:06:44 -04:00
commit d0e5dd62b5
1 changed files with 2 additions and 2 deletions

View File

@ -5,13 +5,13 @@ set -e
abort=false
if [ -L /usr/share/zoneminder/www/events ]; then
l=$(readlink /usr/share/zoneminder/www/events)
if [ "$l" != "/var/cache/zoneminder/www/events" ]; then
if [ "$l" != "/var/cache/zoneminder/events" ]; then
abort=true
fi
fi
if [ -L /usr/share/zoneminder/www/images ]; then
l=$(readlink /usr/share/zoneminder/www/images )
if [ "$l" != "/var/cache/zoneminder/www/images" ]; then
if [ "$l" != "/var/cache/zoneminder/images" ]; then
abort=true
fi
fi