summaryrefslogtreecommitdiff
path: root/pcr/lynis/lynis.install
blob: 1b104f01e90c267b56f99147e12b35c225857fb9 (plain)
1
2
3
4
5
6
7
8
9
10
pre_upgrade() {
  # fix local old umask
  chmod o+rx,g+rx /usr/share/lynis/{include,db,plugins}
}

post_upgrade() {
  chmod o+r,g+r /usr/share/lynis/include/*
  chmod o+r,g+r /usr/share/lynis/db/*
  chmod o+r,g+r /usr/share/lynis/plugins/*
}