mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-09 19:50:25 +03:00
fix a few problems with the check if repo exists function
This commit is contained in:
parent
cef3a124a7
commit
7853477853
@ -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 New Issue
Block a user