2 ## DOC: cran2deb repopulate
3 ## DOC: repopulate the cran2deb database and configurations from a new cran2deb release
9 for x in $(find /etc/cran2deb/ -type f -name '*.in'); do
10 y=$(echo $x | sed -e 's,.in$,,')
11 sed -e "s:@ROOT@:$root:g" <"$x" >"$y"
14 # now do an update to reflect any config changes
15 "$root/exec/update" "$root"
17 (for fn in populate_licenses quit; do
19 done) | "$root/exec/license" "$root"
21 (for fn in populate_depend_aliases populate_sysreq populate_forcedep quit; do
23 done) | "$root/exec/depend" "$root"