ALT Linux Bugzilla
– Attachment 3108 Details for
Bug 18052
bash-specific конструкции в файле /etc/X11/Xsession
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Fix bashisms
Xsession.patch (text/plain), 969 bytes, created by
Slava Semushin
on 2008-11-30 20:37:12 MSK
(
hide
)
Description:
Fix bashisms
Filename:
MIME Type:
Creator:
Slava Semushin
Created:
2008-11-30 20:37:12 MSK
Size:
969 bytes
patch
obsolete
>--- Xsession.orig 2008-11-30 21:49:42 +0600 >+++ /etc/X11/Xsession 2008-11-30 21:50:25 +0600 >@@ -168,7 +168,7 @@ > # Source shell scripts from system /etc/X11/profile.d/ > for f in /etc/X11/profile.d/*.sh; do > # Don't run *.rpm* and *~ scripts >- [ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue >+ [ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue > > SourceIfNotEmpty "$f" "$@" > done >@@ -179,7 +179,7 @@ > # Run system scripts from /etc/X11/xinit.d/ > for f in /etc/X11/xinit.d/*; do > # Don't run *.rpm* and *~ scripts >- [ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue >+ [ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue > > if [ -x "$f" ]; then > "$f" & >@@ -189,7 +189,7 @@ > # Run user scripts from ~/.xsession.d/ > for f in "$HOME"/.xsession.d/*; do > # Don't run *.rpm* and *~ scripts >- [ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue >+ [ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue > > if [ -x "$f" ]; then > "$f" &
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18052
: 3108