Commits

Andriy Kornatskyy  committed 2a293b0

Install cron if it is not

  • Participants
  • Parent commits 1268ba1

Comments (0)

Files changed (1)

 #!/bin/sh 
+
+if [ -z "`dpkg -s cron 2>/dev/null | grep 'ok installed'`" ]; then
+    apt-get -y install cron
+fi
  
 crontabs="apt-update"