In the unlikely event that an error occurred while creating the resulting module, I suggest a new parameter besides -h for help and -d for working in $PWD instead of working in /tmp:
Code: Select all
-k keep downloaded file, e.g. keep palemoon-VERSION.linux-x86_64.tar.xz
Code: Select all
palemoon-28.8.4-x86_64-1.txz
palemoon-28.8.4-x86_64-1.xzm
Code: Select all
palemoon-28.8.4-x86_64-1.xzm
Code: Select all
palemoon-28.8.4-x86_64-1.xzm
palemoon-28.8.4.linux-x86_64.tar.xz
______________________________________
Only checked update-palemoon on the following:
Code: Select all
# update-palemoon -h
Starting checks ...
[OK] User is root.
[OK] Distro is Porteus
[OK] Processor is sse2 compatible
Downloading live script ...
Downloading: update-palemoon-live DONE
options: -d : do operations in the present directory, instead of /tmp .
-h : show this usage.
What the script should do and print back at the user should be more like this:
Code: Select all
# update-palemoon -h
options: -d : do operations in the present directory, instead of /tmp .
-h : show this usage.
Code: Select all
Starting checks ...
[OK] User is root.
[OK] Distro is Porteus
[OK] Processor is sse2 compatible
Downloading live script ...
Downloading: update-palemoon-live DONE
If the maintainer of update-palemoon and update-palmoon-live is okay with that, I could add the -k option and also alter the order to check for the "-h" parameter first and do checks and downloads after that and give you the diff (aka patch) files for update-palemoon and update-palemoon-live if you want. (Since I am still ill with a Non Corona viral pharyngitis I stay at home as much as I need to fully get completely rid of that pharyngitis, so I have more time coding for Port than I usually would have. I recently told someone who strange it is in the train people moving away from me just because I cough, and he replied with "That's a good thing! More space in the train for us!" LOL, just the kind of humour I like.)