package.py 279 B

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