ALT Linux Bugzilla
– Attachment 606 Details for
Bug 5311
Multiple bashisms in gnupg-agent.sh
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
New /etc/profile.d/gnupg-agent.sh
gnupg-agent.sh (text/plain), 528 bytes, created by
Sir Raorn
on 2004-10-12 13:33:37 MSD
(
hide
)
Description:
New /etc/profile.d/gnupg-agent.sh
Filename:
MIME Type:
Creator:
Sir Raorn
Created:
2004-10-12 13:33:37 MSD
Size:
528 bytes
patch
obsolete
>#!/bin/sh > >[ -n "${GNUPGHOME}" ] || GNUPGHOME="${HOME}/.gnupg" > >if [ -r "${GNUPGHOME}/gpg.conf" ] >then > CFG="${GNUPGHOME}/gpg.conf" >else > CFG="${GNUPGHOME}/options" >fi > >if grep -qs "^use-agent" ${CFG} 2>/dev/null >then > if [ -s "${GNUPGHOME}/GPG_AGENT_INFO" ] && kill -0 "`cut -d: -f2 ${GNUPGHOME}/GPG_AGENT_INFO`" 2>/dev/null > then > export GPG_AGENT_INFO="`cat ${GNUPGHOME}/GPG_AGENT_INFO`" > else > eval "`gpg-agent --daemon`" > echo $GPG_AGENT_INFO > ${GNUPGHOME}/GPG_AGENT_INFO > fi > export GPG_TTY=`tty` >fi
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 Raw
Actions:
View
Attachments on
bug 5311
: 606