Update preinst

korrektur
This commit is contained in:
seebaer1976 2015-10-09 18:13:13 +02:00
parent 8db4c22192
commit 7ebf3de8a2
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