screen add repo

This commit is contained in:
aydemir
2015-08-07 18:16:57 +03:00
parent 8be1bec0dc
commit d31cce0b3e
7 changed files with 487 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/bin/chown root:utmp /usr/bin/screen")
os.system("/bin/chmod 02755 /usr/bin/screen")
os.system("/bin/chown root:utmp /run/screen")
os.system("/bin/chmod 0755 /run/screen")
# suid
os.system("/bin/chmod u+s /usr/bin/screen")
os.system("/bin/chmod go-w /run/screen")