DoraSmith24
Technical User
I'm not an IT pro but a bash beginner with basic programming knowledge.
I have a question I can't find the answer to in Google or in books about bash scripting.
I want to write a bash script that installs a list of software, codecs, and utilities.
I am running into a problem because if a script can't find a specific item it just installs everything to that point and stops, and you don't even know what actually installed. Scripts to do the same thing written by other people run into the same problem. The script probably worked when they ran it but some things can't be located in the same place any more.
I need the code to do the following.
Install gimp.
If gimp installed, print 'Installed GIMP' to filename.
If gimp did NOT install, then:
----- do not terminate the script
----- print 'did not install GIMP'.
Thanks!
Yours,
Dora Smith
I have a question I can't find the answer to in Google or in books about bash scripting.
I want to write a bash script that installs a list of software, codecs, and utilities.
I am running into a problem because if a script can't find a specific item it just installs everything to that point and stops, and you don't even know what actually installed. Scripts to do the same thing written by other people run into the same problem. The script probably worked when they ran it but some things can't be located in the same place any more.
I need the code to do the following.
Install gimp.
If gimp installed, print 'Installed GIMP' to filename.
If gimp did NOT install, then:
----- do not terminate the script
----- print 'did not install GIMP'.
Thanks!
Yours,
Dora Smith