mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
fix a few problems with the check if repo exists function
This commit is contained in:
parent
cef3a124a7
commit
7853477853
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue