sudo.install 245 B

12345678910
  1. pre_upgrade() {
  2. # Permissions of /var/db/sudo were changed from 0700 to 0711 in sudo 1.8.10
  3. # http://www.sudo.ws/repos/sudo/rev/5c38d77a2d0c
  4. if (($(vercmp $2 1.8.10-1) < 0)); then
  5. chmod 0711 var/db/sudo
  6. fi
  7. }
  8. # vim:set ts=2 sw=2 et: