libertybsd-install.sh 437 B

123456789101112131415
  1. #!/bin/ksh
  2. if [ $(arch) == "amd64"
  3. then
  4. export PKG_PATH=http://libertybsd.net/pub/LibertyBSD/5.9/packages/amd64
  5. doas pkg_add -v xonotic
  6. else
  7. export PKG_PATH=http://libertybsd.net/pub/LibertyBSD/5.9/packages/i386
  8. doas pkg_add -v xonotic
  9. fi
  10. echo "Time to reap the profits, now!"
  11. echo "If you didn't get any errors, Xonotic 0.8.22 is now installed-- just run the 'xonotic' command."
  12. echo "Cheers!"