summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index d1b85e2a..33aced15 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -372,7 +372,7 @@ if [ -f /etc/debian_version ] ; then
else
MASTERDEBS=""
fi
- sudo apt-get update
+ $UP2DATE || sudo apt-get update
$UP2DATE || sudo apt-get install $DEBS $MASTERDEBS
$UP2DATE || sudo apt-get install -t jessie-backports \
pbuilder lintian || echo "this should only fail on the first install"