Hi,
Thanks for pushing the typo fix. I now get further (from my terminal):
Code:
---------- Memory Information:
total used free shared buff/cache available
./system-info: line 583: -printf: command not found
... a few pages later ...
./system-info: line 583: -printf: command not found
The result is stored in '/home/doug/system-info.txt'
Sensitive data is [REMOVED] from the report file
Do you want to upload the report file fo 'https://paste.ubuntu.com'? (y/N)
I think this would fix (tested):
Code:
doug@s19:~/tmp/support-info$ git diff
diff --git a/system-info b/system-info
index d2b5a14..db80cfa 100755
--- a/system-info
+++ b/system-info
@@ -580,7 +580,7 @@ function GetOriginalInstallDate()
# Makes best logical efforts.
if [ $(sudo find /var/log/installer/ -type f | wc -l) -ne 0 ]
then
- installer_date=$(sudo find /var/log/installer/ -type f | -printf "%T+\n" | sort| head -1 2> /dev/null )
+ installer_date=$(sudo find /var/log/installer/ -type f -printf "%T+\n" | sort| head -1 2> /dev/null )
installer_date="Original Installation Date: ${setansi} ${installer_date%.*} $ransi"
else
# sudo find / -maxdepth 1 -type d -printf "%T+ %p\n"| sort| head -1 # uncomment for debugging
@@ -824,7 +824,7 @@ function Paster()
## Eval $paste_prog
if [ $paste_prog -ne 0 ]
then
- read -p "Do you want to upload the report file fo '$target'? (y/N) " ans
+ read -p "Do you want to upload the report file to '$target'? (y/N) " ans
if [[ ${ans,} =~ ^[Yy]$ ]]
then
GetPingStatus "www.ubuntu.com"
I was running this:
Code:
doug@s19:~/tmp/support-info$ git log --oneline
bcd6177 (HEAD -> main, origin/main, origin/HEAD) Merge branch 'main' of https://github.com/MAFoElffen1/system-info into main
712c097 Update system-info
2931edf Corrected Spelling of pastebinit in CheckPrerequisites()
3771146 Corrected Speeling of pastebinit in CheckPrerequisites()
ada932a Update system-info
Bookmarks