Browse Source

sde-config: Introduced config_exists() to lib/sde-config.in

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
79886bbd10
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      lib/sde-config.in

+ 5
- 0
lib/sde-config.in

@ -16,3 +16,8 @@ config_list()
{
ls -1d "$SDEROOT/config"/* 2> /dev/null | sed -e 's,.*/,,'
}
config_exists()
{
[ -s "$SDEROOT/config/$1/packages" ]
}

Loading…
Cancel
Save