summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@1501-debian>2008-10-29 22:01:52 +0200
committerEugene V. Lyubimkin <jackyf@1501-debian>2008-10-29 22:01:52 +0200
commit94cb04ddd1f9221e16680dceb98afad6a1273c50 (patch)
treef452c8e92cc4f7a45c1d14071a88657f2052d738
parent708ead3a44ac2f5ea625343c5d1b3404cca8a481 (diff)
Fixed bashisms in apt-key.
-rwxr-xr-xcmdline/apt-key6
-rw-r--r--debian/changelog2
2 files changed, 5 insertions, 3 deletions
diff --git a/cmdline/apt-key b/cmdline/apt-key
index 51a0bc2d1..94c11497c 100755
--- a/cmdline/apt-key
+++ b/cmdline/apt-key
@@ -60,16 +60,16 @@ net_update() {
if [ ! -d /var/lib/apt/keyrings ]; then
mkdir -p /var/lib/apt/keyrings
fi
- keyring=/var/lib/apt/keyrings/$(basename $ARCHIVE_KEYRING)
+ keyring=/var/lib/apt/keyrings/`basename $ARCHIVE_KEYRING`
old_mtime=0
if [ -e $keyring ]; then
- old_mtime=$(stat -c %Y $keyring)
+ old_mtime=`stat -c %Y $keyring`
fi
(cd /var/lib/apt/keyrings; wget -q -N $ARCHIVE_KEYRING_URI)
if [ ! -e $keyring ]; then
return
fi
- new_mtime=$(stat -c %Y $keyring)
+ new_mtime=`stat -c %Y $keyring`
if [ $new_mtime -ne $old_mtime ]; then
echo "Checking for new archive signing keys now"
add_keys_with_verify_against_master_keyring $keyring $MASTER_KEYRING
diff --git a/debian/changelog b/debian/changelog
index 40e1cc23d..dedb574b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ apt (0.7.17) unstable; urgency=low
* apt-pkg/algorithm.cc:
- Strip username and password from source URL in error message.
(Closes: #425150)
+ * cmdline/apt-key:
+ - Fixed bashisms;
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Fri, 24 Oct 2008 23:45:17 +0300