From c5cda2bc9987710ed1065567ba6159fd16fe936a Mon Sep 17 00:00:00 2001 From: David Polakovic Date: Fri, 21 Apr 2023 08:39:55 +0200 Subject: [PATCH] modified README.txt to make more sense --- README.txt | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) 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 -- 2.30.2