From 16a0518504f088f4e9a2a23b244f2e68f3e96b0b Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 13 Apr 2010 14:54:23 +0200 Subject: [PATCH] autoupdate: - check for update.conf file --- packages/sysutils/autoupdate/scripts/autoupdate.devel | 3 ++- packages/sysutils/autoupdate/scripts/autoupdate.release | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/autoupdate/scripts/autoupdate.devel b/packages/sysutils/autoupdate/scripts/autoupdate.devel index 24033132eb..e7038d45c5 100755 --- a/packages/sysutils/autoupdate/scripts/autoupdate.devel +++ b/packages/sysutils/autoupdate/scripts/autoupdate.devel @@ -1,6 +1,7 @@ #!/bin/sh -. /storage/.config/update.conf +[ -f /storage/.config/update.conf ] && \ + . /storage/.config/update.conf if [ ! -f /var/lock/update.lock ]; then diff --git a/packages/sysutils/autoupdate/scripts/autoupdate.release b/packages/sysutils/autoupdate/scripts/autoupdate.release index 2bf4c4b5d2..a1df2b4f3f 100755 --- a/packages/sysutils/autoupdate/scripts/autoupdate.release +++ b/packages/sysutils/autoupdate/scripts/autoupdate.release @@ -1,6 +1,7 @@ #!/bin/sh -. /storage/.config/update.conf +[ -f /storage/.config/update.conf ] && \ + . /storage/.config/update.conf if [ ! -f /var/lock/update.lock ]; then