update-inary-cache 195 B

123456789101112
  1. #!/bin/bash
  2. if [ $UID -ne 0 ] ; then
  3. echo "You must be root!"
  4. exit 1
  5. fi
  6. dest=""
  7. [ "$1" == "" ] || dest="-D$1"
  8. inary dc $dest
  9. inary rdb $dest
  10. inary ur $dest
  11. inary up -c system.base $dest