(Athosino) Report post Posted November 24, 2004 [sorry for double post] Ok guys, i made a EL installer for linux... download at http://www.nuke.wz.cz/Linux_EL_installer.tar.gz It's very simple plz English native speakers make corrections and send me them to romanc@chello.sk enjoy! Share this post Link to post Share on other sites
Placid Report post Posted November 24, 2004 (edited) Not a bad idea, but not entirely necessary. You need to add a line after the licence accept to the ask where to install it. Otherwise, its just gonna be annoying. something like this: echo Enter path to install Eternal Lands (e.g. /usr/local/share/games/el).\( Default [d]\) read INSTALL_ANS if [ "$INSTALL_ANS" = d ] mkdir /usr/local/share/games/el cd /usr/local/share/games/el #CONTINUE WITH UNZIP HERE. else mkdir $INSTALL_ANS cd $INSTALL_ANS #CONTINUE WITH UNZIP HERE, MIGHT WANT TO PUT ALL unzip/echo's into their #own functions fi EDIT: I cant do spelling corrections now, but if it isnt done by the time i return home, ill email you them there. Edited November 24, 2004 by Placid Share this post Link to post Share on other sites
(Athosino) Report post Posted November 24, 2004 indeed =] i will do it tonight, but first I have to write my work from slovak language =( plz do the corrections if u will have free time... thx Share this post Link to post Share on other sites
Placid Report post Posted November 24, 2004 ill rewrite the whole script and functionise everything if you like, that ways its a LOT easier to maintain. Let me know. Share this post Link to post Share on other sites
(Athosino) Report post Posted November 24, 2004 umm... no lemme do things myself, i wanna learn something about linux =] BTW I am remaking it alrdy so =P Share this post Link to post Share on other sites
Placid Report post Posted November 24, 2004 Geeze!! I was simply helpin out. Just organise the unzipping etc into their own functions. And add my above code (or rewrite it if you want to). Thats the gist of what i would have done anyways. Share this post Link to post Share on other sites
(Athosino) Report post Posted November 24, 2004 i am workin' on it =] Share this post Link to post Share on other sites
(Athosino) Report post Posted November 25, 2004 version 0.2 is avaiable at same URL... it's WAY better.... see change log Share this post Link to post Share on other sites
Placid Report post Posted November 25, 2004 That link is to the previous version, can you update it? Share this post Link to post Share on other sites
(Athosino) Report post Posted November 25, 2004 ok now there shall be current version(I HOPE) Share this post Link to post Share on other sites
Placid Report post Posted November 25, 2004 (edited) Excellent, the coding looks fine (thanks for the mention ) The only way i thought it was the previous version is because the readme file says v.01 at the top and there is no change log. Realised the change log was in the script itself. Ill try and make those changes to the readme if you like? (i.e., change log from script and grammar errors etc?) EDIT How come you didnt function everything? Edited November 25, 2004 by Placid Share this post Link to post Share on other sites
(Athosino) Report post Posted November 25, 2004 No thanks, this way change log is fine - I will add note that it's change log in version 0.3 BTW, I didn't function because... I don't know how to use functions <_< plz make it how the shall look like and correct the grammar errors either in script itself either in readme u can add something if u like i will post to change log ur name Btw go to the help forum and THINK where the problem might be!!! Share this post Link to post Share on other sites
Placid Report post Posted November 25, 2004 (edited) heh, no problem. Ill edit the spellin/grammar and post here. Check my edited post on the help Me forum, as i have edited a quite a few times. BTW, functions are very easy: #! /bin/sh thisIsAFunction(){ Â echo "Hello, i am in a function"; Â yes Hello!!!!! } thisIsAFunction # This would call the function defined above. Try the above in a script. Edited November 26, 2004 by Placid Share this post Link to post Share on other sites
(Athosino) Report post Posted November 27, 2004 do it urself =P Share this post Link to post Share on other sites
Platyna Report post Posted November 27, 2004 You may use my lib checker too and add it to install script. Regards. Share this post Link to post Share on other sites
(Athosino) Report post Posted November 28, 2004 You may use my lib checker too and add it to install script. Regards. do it, code it, send me it at romanc@chello.sk and I add ur name to change log Share this post Link to post Share on other sites
duran Report post Posted November 28, 2004 why not use autopackage? http://autopackage.org/ Share this post Link to post Share on other sites
(Athosino) Report post Posted November 28, 2004 why not use autopackage? http://autopackage.org/ it's really good, but we need something working on ALL distors and also working without X Share this post Link to post Share on other sites
crusadingknight Report post Posted November 28, 2004 why not use autopackage? http://autopackage.org/ it's really good, but we need something working on ALL distors and also working without X Erm, why without X? Share this post Link to post Share on other sites
ecraven Report post Posted November 28, 2004 may i ask why we need an installer at all? download / unpack / run.. how much easier does it get? Share this post Link to post Share on other sites
crusadingknight Report post Posted November 28, 2004 Because not everyone is a sysadmin...there are people I've met who don't understand bash scripts Share this post Link to post Share on other sites
(Athosino) Report post Posted November 28, 2004 why not use autopackage? http://autopackage.org/ it's really good, but we need something working on ALL distors and also working without X Erm, why without X? do u usally run root in X? Share this post Link to post Share on other sites
(Athosino) Report post Posted November 28, 2004 may i ask why we need an installer at all? download / unpack / run.. how much easier does it get? cus the script mades very easy way to execute EL, and also it's safe of time Share this post Link to post Share on other sites
crusadingknight Report post Posted November 28, 2004 why not use autopackage? http://autopackage.org/ it's really good, but we need something working on ALL distors and also working without X Erm, why without X? do u usally run root in X? Yes. I do. Share this post Link to post Share on other sites
(Athosino) Report post Posted November 28, 2004 why not use autopackage? http://autopackage.org/ it's really good, but we need something working on ALL distors and also working without X Erm, why without X? do u usally run root in X? Yes. I do. well u r one of million, cus it's not very safe Share this post Link to post Share on other sites