Pages: « 1 2
Author Topic: Install script - Ubuntu  (Read 14314 times)
Offline (Male) RetroX
Reply #15 Posted on: May 23, 2010, 08:34:21 pm

Master of all things Linux
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger -
View Profile Email
Replace the sudo calls with one call to sudo su; or combine the install parameters.

youk now, there was only one sudo, right?

if he were to replace it with sudo su then he would also have to add exit at the end, essentially, to drop out of the administrative shell so as to keep the idiotic users less idiotic.
isn't that uh, automatic?

the shell is automatically exited upon ending the script
Unless they ran the script from within the shell.
Ah, I guess not.
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) MahFreenAmeh
Reply #16 Posted on: July 03, 2010, 06:58:20 pm

"Web Team"
Location: Austin, TX
Joined: Apr 2008
Posts: 13
AOL Instant Messenger - sirmxe
View Profile WWW Email
cd ~ && sudo apt-get -yqq install build-essential libgl1-mesa-dev zlib1g-dev subversion rapidsvn && svn co enigma && cd enigma && make -C CompilerSource linux && java -jar lgm16b4.jar
one liners are AWESOME.
« Last Edit: July 04, 2010, 02:59:31 pm by MahFreenAmeh » Logged
if you've got ideas, let me hear them.
Offline (Female) IsmAvatar
Reply #17 Posted on: July 04, 2010, 12:28:27 pm

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
About a week ago, I fixed Make so you didn't have to cd into CompilerSource for make.
So you can replace
make -C CompilerSource linux
make linux
Offline (Unknown gender) freezway
Reply #18 Posted on: July 04, 2010, 05:21:20 pm

Joined: Dec 2009
Posts: 220

View Profile
what is -C?
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Male) Josh @ Dreamland
Reply #19 Posted on: July 04, 2010, 05:24:43 pm

Prince of all Goldfish
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
Build directory.

Nice change, Ism.
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: « 1 2