Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56674 - [screenfetch] unary operator expected through SSH

Attached to Project: Community Packages
Opened by Javier Fernández (WyRe) - Monday, 11 December 2017, 10:15 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 11 December 2017, 13:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

screenfetch show the following error message when is performed through SSH connection



Additional info:

screenfetch 3.8.0-2



Steps to reproduce:
Put screenfetch into your .bashrc and then logging with your user through ssh connection.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 11 December 2017, 13:10 GMT
Reason for closing:  Upstream
Comment by Javier Fernández (WyRe) - Monday, 11 December 2017, 10:16 GMT
This is the error message, I've forgot inlcuide into bug report, sorry

'/usr/bin/screenfetch: line 1341: [: =: unary operator expected'
Comment by Eli Schwartz (eschwartz) - Monday, 11 December 2017, 13:10 GMT
That line uses the value of `awk '{print $2}' /proc/fb`, which somehow on your system is an empty value. Unfortunately, the screenfetch author doesn't know how to write bash, and uses a POSIX sh [ in a bash script, then fails to quote potentially-empty variables. File an upstream bug, there's nothing wrong with our package -- this is exactly how screenfetch upstream is supposed to behave.

Loading...