mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-12 22:21:32 +01:00
update to fix race condition on GPG temporary file deletion
This commit is contained in:
parent
3ba2053167
commit
68d84d6f06
@ -33,7 +33,9 @@ curl -o /usr/local/bin/gosu.asc -# -SL $url_key
|
|||||||
|
|
||||||
gpg --verify /usr/local/bin/gosu.asc
|
gpg --verify /usr/local/bin/gosu.asc
|
||||||
|
|
||||||
# cleanup
|
# cleanup -- need to kill agent so that there is no race condition for
|
||||||
|
# agent files in $GNUPGHOME
|
||||||
|
gpgconf --kill gpg-agent
|
||||||
rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc
|
rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc
|
||||||
|
|
||||||
chmod +x /usr/local/bin/gosu
|
chmod +x /usr/local/bin/gosu
|
||||||
|
Loading…
Reference in New Issue
Block a user