base-files: set TERM to vt100 only if TERM is not set
authorMarcin Juszkiewicz <hrw@openedhand.com>
Wed, 6 Jun 2007 14:07:40 +0000 (14:07 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Wed, 6 Jun 2007 14:07:40 +0000 (14:07 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1865 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/base-files/base-files/profile
meta/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 9a6c222..a87c828 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Miscellaneous files for the base system."
 SECTION = "base"
 PRIORITY = "required"
-PR = "r55"
+PR = "r56"
 LICENSE = "GPL"
 
 SRC_URI = " \