base-files: provide more tolerant xterm detection
authorPaul Wassi <p.wassi@gmx.at>
Thu, 23 Aug 2018 07:24:43 +0000 (09:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 10:28:12 +0000 (11:28 +0100)
commit87a6aadfd558a8ea4477c85f55e617e5cc7e77ea
tree33b5b85d5c08248599bb2e3b3d16d1285b1acf24
parent40ca437c325d6a88ff05033a7817bdfbf962e9a2
base-files: provide more tolerant xterm detection

Set the window title not only in "xterm", but also in
e.g. "xterm-256color", "xterm-color", etc.
The case statement is taken from Debian / Ubuntu.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
(backported from 1bd6b91e0f9f53f13b5a9fa2939674012fe7193f)
package/base-files/files/etc/profile