mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
simple-adblock: bugfix: start downloads on cold boot
Signed-off-by: Stan Grishin <stangri@melmac.net>
This commit is contained in:
@@ -922,6 +922,8 @@ start_service() {
|
||||
if [ "$action" = 'on_boot' ] || [ "$1" = 'on_boot' ]; then
|
||||
if cacheOps 'testGzip' || cacheOps 'test'; then
|
||||
action='restore'
|
||||
else
|
||||
action='download'
|
||||
fi
|
||||
elif [ "$action" = 'download' ] || [ "$1" = 'download' ] || [ -n "$error" ]; then
|
||||
action='download'
|
||||
|
||||
Reference in New Issue
Block a user