commit
d0e5dd62b5
|
@ -5,13 +5,13 @@ set -e
|
||||||
abort=false
|
abort=false
|
||||||
if [ -L /usr/share/zoneminder/www/events ]; then
|
if [ -L /usr/share/zoneminder/www/events ]; then
|
||||||
l=$(readlink /usr/share/zoneminder/www/events)
|
l=$(readlink /usr/share/zoneminder/www/events)
|
||||||
if [ "$l" != "/var/cache/zoneminder/www/events" ]; then
|
if [ "$l" != "/var/cache/zoneminder/events" ]; then
|
||||||
abort=true
|
abort=true
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -L /usr/share/zoneminder/www/images ]; then
|
if [ -L /usr/share/zoneminder/www/images ]; then
|
||||||
l=$(readlink /usr/share/zoneminder/www/images )
|
l=$(readlink /usr/share/zoneminder/www/images )
|
||||||
if [ "$l" != "/var/cache/zoneminder/www/images" ]; then
|
if [ "$l" != "/var/cache/zoneminder/images" ]; then
|
||||||
abort=true
|
abort=true
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue