base-files: only set TERM in profile if it's not set to allow more or less comfortabl...
authorMichael Krelin <hacker@klever.net>
Tue, 8 May 2007 15:43:09 +0000 (15:43 +0000)
committerMichael Krelin <hacker@klever.net>
Tue, 8 May 2007 15:43:09 +0000 (15:43 +0000)
packages/base-files/base-files/profile
packages/base-files/base-files_3.0.14.bb

index a4c1694..3dc22f3 100644 (file)
@@ -2,8 +2,8 @@
 # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
 
 PATH="/usr/local/bin:/usr/bin:/bin"
-EDITOR="/bin/vi"       # needed for packages like cron
-TERM="vt100"           # Basic terminal capab. For screen etc.
+EDITOR="/bin/vi"                       # needed for packages like cron
+test -z "$TERM" && TERM="vt100"        # Basic terminal capab. For screen etc.
 
 if [ ! -e /etc/localtime ]; then
        TZ="UTC"                # Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html 
index 393e0e3..1e80f4c 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Miscellaneous files for the base system."
 SECTION = "base"
 PRIORITY = "required"
-PR = "r64"
+PR = "r65"
 LICENSE = "GPL"
 
 SRC_URI = " \