package.py 264 B

123456789
  1. #!/usr/bin/python
  2. import os
  3. def postInstall(fromVersion, fromRelease, toVersion, toRelease):
  4. os.system("/bin/chown root:apache /usr/sbin/suexec")
  5. os.system("/bin/chmod 04710 /usr/sbin/suexec")
  6. os.system("/bin/chown apache:apache /var/cache/apache2")