diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-02-11 09:08:37 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-02-11 09:08:37 +0100 |
commit | 5645e8b1cebb57134df717b8339248811cb762f2 (patch) | |
tree | 8846e3f411cea65217944154e6da70c11b00dbaa /cmdline | |
parent | 86e2dc4dd728924d71995ebaeb83a4d9abba94d5 (diff) | |
parent | 1dda80929fcd62c287a84f1ecc1277fc39890efe (diff) |
merged from debian-sid
Diffstat (limited to 'cmdline')
-rwxr-xr-x | cmdline/apt-key | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-key b/cmdline/apt-key index 7beedd38d..288fb52fb 100755 --- a/cmdline/apt-key +++ b/cmdline/apt-key @@ -7,7 +7,7 @@ unset GREP_OPTIONS # implodes if there isn't one available GPG_CMD='gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg' -if ! id -u > /dev/null; then +if [ "$(id -u)" -eq 0 ]; then GPG_CMD="$GPG_CMD --trustdb-name /etc/apt/trustdb.gpg" fi |