.
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/x11-tools?expand=0&rev=14
This commit is contained in:
parent
d3c375f8ba
commit
4ac41ad6e9
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 24 12:56:22 UTC 2013 - werner@suse.de
|
||||
|
||||
- Some shells do not know about HOSTNAME variable and print error
|
||||
messages therefore export this variable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 27 06:18:01 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
7
xim
7
xim
@ -62,10 +62,12 @@ echo "/etc/X11/xim: Checking whether an input method should be started."
|
||||
|
||||
adduserenv () {
|
||||
local cur var=${1+"$@"}
|
||||
: ${HOSTNAME:=$(hostname -f)}
|
||||
case "$SHELL" in
|
||||
*/sh|*/ash|*/bash|*/ksh|*/pdksh|*/zsh)
|
||||
if test -s "$HOME/.profile" ; then
|
||||
eval $((echo . "'$HOME/.profile'"
|
||||
eval $(export HOSTNAME
|
||||
(echo . "'$HOME/.profile'"
|
||||
echo "set +u +e"
|
||||
for cur in $var; do
|
||||
echo echo \${$cur+"export $cur=\$$cur;"}
|
||||
@ -74,7 +76,8 @@ adduserenv () {
|
||||
;;
|
||||
*/csh|*/tcsh)
|
||||
if test -s "$HOME/.login" ; then
|
||||
eval $((echo onintr -
|
||||
eval $(export HOSTNAME
|
||||
(echo onintr -
|
||||
echo source "'$HOME/.login'"
|
||||
echo unset verbose
|
||||
for cur in $var; do
|
||||
|
Loading…
Reference in New Issue
Block a user