diff --git a/distros/ubuntu1504/preinst b/distros/ubuntu1504/preinst index 6332f521d..f35723bc0 100755 --- a/distros/ubuntu1504/preinst +++ b/distros/ubuntu1504/preinst @@ -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