Pages: 1 2
Author Topic: Install script - Ubuntu  (127,909 Views)
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #15 Posted on: May 24, 2010, 01:34:21 AM
Quote from: retep998 on May 24, 2010, 12:19:02 AM
Quote from: RetroX on May 23, 2010, 11:55:09 PM
Quote from: MahFreenAmeh on May 23, 2010, 10:52:50 PM
Quote from: Josh @ Dreamland on May 21, 2010, 10:06:29 PM
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.
Offline (Unknown gender) MahFreenAmeh

sysadmin
Web Team
Joined: Apr 2008
Posts: 13
View profile WWW
Reply #16 Posted on: July 03, 2010, 11:58:20 PM
cd ~ && sudo apt-get -yqq install build-essential libgl1-mesa-dev zlib1g-dev subversion rapidsvn && svn co https://enigma-dev.svn.sourceforge.net/svnroot/enigma-dev/trunk enigma && cd enigma && make -C CompilerSource linux && java -jar lgm16b4.jar
one liners are AWESOME.
Offline (Unknown gender) IsmAvatar

LateralGM Developer
LGM Developer
Joined: Apr 2008
Posts: 877
View profile
Reply #17 Posted on: July 04, 2010, 05:28:27 PM
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
with
make linux
Offline (Unknown gender) freezway

Member
Joined: Jan 2010
Posts: 220
View profile
Reply #18 Posted on: July 04, 2010, 10:21:20 PM
what is -C?
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #19 Posted on: July 04, 2010, 10:24:43 PM
Build directory.

Nice change, Ism.
Pages: 1 2