1. Andriy Kornatskyy
  2. mindref-etc

Commits

Andriy Kornatskyy  committed 2a293b0

Install cron if it is not

  • Participants
  • Parent commits 1268ba1
  • Branches default

Comments (0)

Files changed (1)

File apply-cron

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