http://bugzilla.opensuse.org/show_bug.cgi?id=1062373 Bug ID: 1062373 Summary: unity-gtk-module-common-0.0.0+bzr20150118-6.3.x86_64 contains broken .csh startup file Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: x86-64 OS: openSUSE 42.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: ralf.fassel@akutech.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 743588 --> http://bugzilla.opensuse.org/attachment.cgi?id=743588&action=edit patch for /etc/profile.d/unity-gtk-module.csh RPM module unity-gtk-module-common-0.0.0+bzr20150118-6.3.x86_64 contains the file /etc/profile.d/unity-gtk-module.csh which contains a reference to environment variable GTK_MODULES: if ( -z "$GTK_MODULES" ) then setenv GTK_MODULES "unity-gtk-module" else setenv GTK_MODULES "${GTK_MODULES}:unity-gtk-module" endif if ( -z "$UBUNTU_MENUPROXY" ) then setenv UBUNTU_MENUPROXY 1 fi However, if these variables are not set, csh fails to load the scripts with an error: GTK_MODULES: Undefined variable. While valid for Bourne-Shell based SHELLS, the -z syntax is plain wrong for csh, which errs out if an environment variable is not set. Also the 'fi' at the end of the script is an syntax error, too. The correct syntax for testing for a not-set environment variable in csh would be if (! $?GTK_MODULES ) ... Proposed patch attached. This is the second time I have to report a csh-related startup-script error. Does none use csh any more? Are these scripts not tested? HTH Ralf -- You are receiving this mail because: You are on the CC list for the bug.