by default, ignore slice repos
Thierry Parmentelat [Tue, 4 Sep 2012 10:13:50 +0000 (12:13 +0200)]
plc.d/packages

index 5f0fad1..d97fa54 100755 (executable)
@@ -119,8 +119,8 @@ case "$1" in
        if [[ -n "$@" ]] ; then
            repositories="$@"
        else
-           # use all subdirs in install-rpms by default
-           repositories=/var/www/html/install-rpms/*
+           # use all subdirs in install-rpms by default, except the slice repos
+           repositories=$(ls -d /var/www/html/install-rpms/* | grep -v /slice-)
        fi
 
        # filter out PRESERVE'd repos