shx update: use shx_depends, shx_onlyroot right
Update shx_onlyroot and script.  Use shx_warn.

Use right functions where they should  In ripcd.sh, call "transform"
script directly.