sed -i 's^OpenLibrary added content^Syndetics added content^g' $TMPOPENSRF_XML
sed -i "s^MODULE_USER_ID^$SYNDETICS_USER_ID^g" $TMPOPENSRF_XML
sed -i '/<module>OpenILS::WWW::/a \\t <base_url>https://syndetics.com/index.aspx</base_url>' $TMPOPENSRF_XML
- echo "SYNDETICS_USER_ID=${SYNDETICS_USER_ID}" > ../setup_${SUBFOLDER}/.Syndetics.txt
- chmod 600 ../setup_${SUBFOLDER}/.Syndetics.txt
fi
### Start setup of munin.conf file
echo "NOVELIST_PASSWORD=${NOVELIST_PASSWORD}" >> ../setup_${SUBFOLDER}/.Novelist.txt
chmod 600 ../setup_${SUBFOLDER}/.Novelist.txt
fi
+ if [[ "$USE_SYNDETICS" == "y" || "$USE_SYNDETICS" == "Y" ]]
+ then
+ echo "SYNDETICS_USER_ID=${SYNDETICS_USER_ID}" > ../setup_${SUBFOLDER}/.Syndetics.txt
+ chmod 600 ../setup_${SUBFOLDER}/.Syndetics.txt
+ fi
fi
#TODO check drone pkging.