package-list-gen 361 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # Build freon's package.list
  3. # Version: 0.0.1
  4. # (C) Chris Dorman, 2020 GPLv3+
  5. MIRRORPATH="/opt/htdocs/freon/files/packages"
  6. echo "MAKE SURE THE ONLY .tgz FILES ARE PACKAGES IN THE REPO WITHIN THE SAME DIRECTORY OF THIS FILE!"
  7. sleep 2
  8. for f in *.tgz
  9. do
  10. echo "${f%.tgz}" >> package.list
  11. done
  12. cp -a * $MIRRORPATH/.
  13. cp -a ../deps/* $MIRRORPATH/.