Browse Source

tlsdate is already in jessie anyhow

Bob Mottram 10 years ago
parent
commit
bf96206149
1 changed files with 1 additions and 9 deletions
  1. 1
    9
      install-freedombone.sh

+ 1
- 9
install-freedombone.sh View File

@@ -247,16 +247,8 @@ function time_synchronisation {
247 247
   if grep -Fxq "time_synchronisation" $COMPLETION_FILE; then
248 248
 	  return
249 249
   fi
250
-  apt-get -y install build-essential automake git pkg-config autoconf libtool libssl-dev libevent-dev
250
+  apt-get -y install tlsdate
251 251
   apt-get -y remove ntpdate
252
-  mkdir $INSTALL_DIR
253
-  cd $INSTALL_DIR
254
-  git clone https://github.com/ioerror/tlsdate.git
255
-  cd $INSTALL_DIR/tlsdate
256
-  ./autogen.sh
257
-  ./configure
258
-  make
259
-  make install
260 252
 
261 253
   echo '#!/bin/bash' > /usr/bin/updatedate
262 254
   echo 'TIMESOURCE=google.com' >> /usr/bin/updatedate