From: David Polakovic Date: Fri, 21 Apr 2023 06:39:55 +0000 (+0200) Subject: modified README.txt to make more sense X-Git-Url: http://git.dpolakovic.space/?a=commitdiff_plain;ds=inline;p=shmu-fetch modified README.txt to make more sense --- diff --git a/README.txt b/README.txt index 77f6706..96f7bcb 100644 --- a/README.txt +++ b/README.txt @@ -9,18 +9,17 @@ fetch their necessary weather info. SHMÚ is goverment run meteorology institute You can check it out here https://www.shmu.sk/sk/?page=1 HOW TO RUN: -This is bash program so you need bash. -You need to have installed package lynx and perl. You can install them from your -package manager. -Then clone the repository to the directory fo your liking. Copy its content to one -of the following: -a) /usr/bin/ -b) /usr/local/bin/ -c) any other directory you see when you run "echo $PATH" -/usr/local/bin/ seems reasonable for daily use. /usr/bin/ works too but since two -files are rewritten everytime you run the program "sudo" will be needed. Its your -choice. Navigate to chosen directory and run "chmod +x shmu". Now you can run -"shmu" from anywhere. +This is bash program so you need bash. You also need to have installed packages +lynx and perl. You can install them from your package manager. Then clone the +repository to the directory of your liking. Navigate to chosen directory and run +"chmod +x shmu". Now you can run the "shmu" command from the directory. + +HOW TO RUN: optional +For running "shmu" from everywhere, you can move all the files to any directory +that is stored in your $PATH (use "echo $PATH" to see them). Remember to modify +the script after that. In "shmu" change lines that run shmu.pl and add the full +path to them. Then again, run "chmod +x shmu" in the new directory. Profit! + LICENSE: https://www.gnu.org/licenses/gpl-3.0.en.html