1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 15:51:20 +00:00

Modify linux setup script to exit if it has root permissions.

This commit is contained in:
Luke Ceddia 2014-08-29 22:57:45 +10:00
parent 54a0e14ef5
commit d7218cd301
21 changed files with 8 additions and 0 deletions

0
internal/c/libqb/os/lnx/build_test.sh Normal file → Executable file
View file

0
internal/c/libqb/os/lnx/setup_build.sh Normal file → Executable file
View file

0
internal/c/parts/audio/conversion/os/lnx/build.sh Normal file → Executable file
View file

0
internal/c/parts/audio/conversion/src/check_asm.sh Normal file → Executable file
View file

0
internal/c/parts/audio/decode/mp3/os/lnx/build.sh Normal file → Executable file
View file

0
internal/c/parts/audio/decode/ogg/os/lnx/build.sh Normal file → Executable file
View file

0
internal/c/parts/audio/libresample/os/lnx/build.sh Normal file → Executable file
View file

0
internal/c/parts/audio/out/os/lnx/build.sh Normal file → Executable file
View file

View file

View file

View file

0
internal/c/parts/core/os/lnx/build.sh Normal file → Executable file
View file

0
internal/c/parts/core/os/lnx/setup_build.sh Normal file → Executable file
View file

0
internal/c/parts/video/font/ttf/os/lnx/build.sh Normal file → Executable file
View file

0
internal/c/parts/video/font/ttf/os/lnx/setup_build.sh Normal file → Executable file
View file

View file

@ -30,6 +30,14 @@ DOWNLOAD=
#Set this to 1 to compile SDL instead (Only works if DOWNLOAD=1)
SDL=
#Make sure we're not running as root
if [ $EUID == "0" ]; then
echo "You are trying to run this script as root. This is highly unrecommended."
echo "This script will prompt you for your sudo password if needed to install packages."
exit 1
fi
if [ "$DOWNLOAD" == "1" ]; then
#Various URL's for downloads
QB64_URL="http://www.qb64.net/qb64v0978-lnx.tar.gz"