From: Thierry Parmentelat Date: Fri, 4 Jan 2013 20:05:11 +0000 (+0100) Subject: oops, this stupid mistake was essentially making /etc/plc.d/packages inoperant X-Git-Tag: nodeimage-2.1-4~2 X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=commitdiff_plain;h=aed19235490c0633251c7a5ade3689b1dfb60f71 oops, this stupid mistake was essentially making /etc/plc.d/packages inoperant --- diff --git a/plc.d/packages b/plc.d/packages index 5c59f30..6117538 100755 --- a/plc.d/packages +++ b/plc.d/packages @@ -122,7 +122,7 @@ case "$1" in # consider all subdirs in install-rpms by default, except the slice repos # use find instead of ls - for the corner case where the dir. is empty # (thanks Thomas Dreibholz for the heads up) - repositories=$(find /var/www/html/install-rpms -maxdepth 1 -mindepth 1 -type d \! -name 'slice-*' >& /dev/null) + repositories=$(find /var/www/html/install-rpms -maxdepth 1 -mindepth 1 -type d \! -name 'slice-*' 2> /dev/null) fi # filter out PRESERVE'd repos