install_modules.sh 672 B

12345678910111213141516
  1. #!/bin/bash
  2. # LinuxGSM install_modules.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://linuxgsm.com
  5. # Description: Downloads all modules on install
  6. echo -e ""
  7. echo -e "${lightyellow}Downloading LinuxGSM Modules${default}"
  8. echo -e "================================="
  9. fn_fetch_file "https://github.com/GameServerManagers/LinuxGSM/archive/master.tar.gz" "${tmpdir}" "master.tar.gz" "nochmodx" "norun" "noforce" "nomd5"
  10. fn_dl_extract "${tmpdir}" "master.tar.gz" "${tmpdir}"
  11. cp "${tmpdir}/LinuxGSM-master/lgsm/functions"/*.sh "${functionsdir}"
  12. cp "${tmpdir}/LinuxGSM-master/lgsm/functions"/*.py "${functionsdir}"
  13. chmod +x "${functionsdir}"/*
  14. command_update_linuxgsm.sh