package.py 280 B

123456789
  1. #!/usr/bin/env python
  2. import os
  3. def postInstall(fromVersion, fromRelease, toVersion, toRelease):
  4. os.system("/bin/chown clamav:clamav /var/lib/clamav -R")
  5. #os.system("/bin/chown clamav:clamav /run/clamav -R")
  6. #os.system("/bin/chown clamav:clamav /var/log/clamav -R")