04_update.sh 193 B

1234567891011121314
  1. #!/bin/sh
  2. rm -rf /opt/syspkg/var 2>/dev/null
  3. dir=`pwd`
  4. cat >/opt/syspkg/syspkg.json <<EOF
  5. {
  6. "arch": [ "x86_64" ],
  7. "repos": [
  8. "file://$dir/repo.txt"
  9. ]
  10. }
  11. EOF
  12. time ../bin/syspkg update