Fix local repo test.

This change got lost when resolving some merge conflict :-/.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
mauro.giachero 2009-05-07 10:14:08 +00:00
parent 3d98703b9d
commit 449e2371a9

View File

@ -488,7 +488,7 @@ check_for_updates() {
local VER_NUMERIC NEWVER_NUMERIC UPDATED
local PKGS NUMPKGS PROGRESSCOUNTER=0
if [[ $SLACKVER == local ]]; then
if [[ -z $REPO_TOOL ]]; then
if [[ $DIAG ]]; then
dialog --title "ERROR" --msgbox \
"You cannot check for updates when using the $REPO_DESC." 8 40