Welcome to the CHICKEN Scheme pasting service
chicken-update-all script added by elflng on Wed Jan 11 17:27:51 2023
#!/bin/bash ALLEGGS=`chicken-status | sed -e 's/^\([^ ]*\) .*version: \(.*\)$/\1::\2/'` for i in ${ALLEGGS} ; do e=${i%::*} v=${i#*::} nv="`chicken-install -list-versions ${e} | grep -v "^${e}:.*${v}$"`" if [ -n "${nv}" ] ; then gv="`echo "${nv}" | sed -e 's/^.* \([^ ]*\)$/\1/'`" echo "getting version ${gv} for egg ${e}..." chicken-install ${e}:${gv} fi done