Bläddra i källkod

tlsdate is already in jessie anyhow

Bob Mottram 10 år sedan
förälder
incheckning
bf96206149
1 ändrade filer med 1 tillägg och 9 borttagningar
  1. 1
    9
      install-freedombone.sh

+ 1
- 9
install-freedombone.sh Visa fil

247
   if grep -Fxq "time_synchronisation" $COMPLETION_FILE; then
247
   if grep -Fxq "time_synchronisation" $COMPLETION_FILE; then
248
 	  return
248
 	  return
249
   fi
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
   apt-get -y remove ntpdate
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
   echo '#!/bin/bash' > /usr/bin/updatedate
253
   echo '#!/bin/bash' > /usr/bin/updatedate
262
   echo 'TIMESOURCE=google.com' >> /usr/bin/updatedate
254
   echo 'TIMESOURCE=google.com' >> /usr/bin/updatedate