[SOLVED] shell scripts don't run?

Posted:
Jul 1st, '16, 23:43
by cheerfulcharlie
I am running Mageia 5.x. I recently downloaded the Pale Moon browser installer. This has a script, pminstaller.sh Pale moon suggests running this as a user, not root. I opened a terminal, (alt - ctrl - f2) and logged in as a user. I changed to the directory where I had downloaded that installer and untar'd it. I changed owner to the user. I chmodded it, chmod 777, to make it usable. But running the pminstaller.sh does not work. Bash sees it, bright green and all, it simply won't run it. Is there something about Mageia 5.x and bash I don't know? This is a new install. Any ideas? Has anybody else tried loading the Pale Moon browser this way?
Re: shell scripts don't run?

Posted:
Jul 2nd, '16, 17:30
by doktor5000
Can you actually post the command you run, together with the output you got and the prompt so others can take a look what "it simply won't run it" means in particular?
Re: shell scripts don't run?

Posted:
Jul 2nd, '16, 17:48
by ozky
It will try call sudo by default you need to run it as root.
I didn't call cmod at all.
- Code: Select all
LC_ALL=C ./pminstaller.sh
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for ozky: Sorry, try again.
[sudo] password for ozky:
Re: shell scripts don't run?

Posted:
Jul 2nd, '16, 23:57
by cheerfulcharlie
I got everything running again. I was trying to install Pale Moon browser with the pminstaller.sh shell script. Apparently a corrupt download wedged everything. I rebooted, download a new example, and the installer detected a botched install that apparently wedged everything. It allowed me to delete it and install anew and all was well. A reboot and wipe out the old .sh script and try again seems to have done the trick. One of those bizarre little problems that makes computer usage so fun.
emily-litella/
Never mind!
/
Re: shell scripts don't run?

Posted:
Jul 3rd, '16, 00:19
by isadora
Please cheerfulcharlie, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead.
