I was making this bash install script on ubuntu 21.10. I was going to test out the first little bit, but I ran into this error.
/tmp/geany_run_script_GBYCG1.sh: 7: ./install sauerbraten 2020: Permission denied
(program exited with code: 126)
Press return to continue
This is the script so far.
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
function error {
echo -e "\\e[91m$1\\e[39m"
exit 1
}
wget https://sourceforge.net/projects/sauerbraten/files/sauerbraten/2020_11_29/sauerbraten_2020_12_29_linux.tar.bz2/download
#tar -xf
What is wrong, and how can I fix it?