From 7853477853624bbdc2f157d98c87078b0e27989a Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Wed, 27 Aug 2008 02:26:20 +0000 Subject: [PATCH] fix a few problems with the check if repo exists function --- src/usr/bin/sbopkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/bin/sbopkg b/src/usr/bin/sbopkg index 6ee9f52..5fdaf54 100755 --- a/src/usr/bin/sbopkg +++ b/src/usr/bin/sbopkg @@ -120,7 +120,7 @@ fi check_if_repo_exists () { # Check to see if $LOCALREPO/$SLACKVER exists and not empty -if [ ! -d $LOCALREPO/$SLACKVER/* ]; then +if [ ! -d $LOCALREPO/$SLACKVER/academic ]; then if [ "$DIAG" = 1 ]; then dialog --title "ERROR" --msgbox "The directory \ $LOCALREPO/$SLACKVER was not found or is empty. Please make \