[tor-commits] [tor-cloud/master] Do not hardcode distro name
runa at torproject.org
runa at torproject.org
Mon Sep 24 19:28:24 UTC 2012
commit 16519bc465e1a024bb8e4bf449e874ecf310cd08
Author: Runa A. Sandvik <runa.sandvik at gmail.com>
Date: Mon Sep 24 20:28:13 2012 +0100
Do not hardcode distro name
---
ec2-prep.sh | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ec2-prep.sh b/ec2-prep.sh
index 9236527..0db2765 100644
--- a/ec2-prep.sh
+++ b/ec2-prep.sh
@@ -50,11 +50,11 @@ EOF
cat << EOF > $UNATTENDED_UPGRADES
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
- "Ubuntu lucid";
- "Ubuntu lucid-security";
- "Ubuntu lucid-updates";
- "TorProject lucid";
- "TorProject experimental-lucid";
+ "Ubuntu $DISTRO";
+ "Ubuntu $DISTRO-security";
+ "Ubuntu $DISTRO-updates";
+ "TorProject $DISTRO";
+ "TorProject experimental-$DISTRO";
};
// Automatically reboot *WITHOUT CONFIRMATION* if the file
More information about the tor-commits
mailing list