@ -11,13 +11,16 @@ fi
# Gets list of screensavers. Exclude 'config'.
scsvs=""
pushd "${XSDIR}" >/dev/null
for i in *; do
if [ -d "$XSDIR" ]; then
LASTD=$PWD
cd "${XSDIR}" >/dev/null
if [ "${i}" != "config" ]; then
scsvs="${scsvs} ${i}"
fi
done
popd >/dev/null
cd "$LASTD"
echo $scsvs