road to kio-extras, libmtp,samba,libss added.

This commit is contained in:
Ertuğrul Erata
2015-07-30 15:34:30 +03:00
parent df83e20f6b
commit 19a6ade70d
34 changed files with 1468 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
if not os.path.exists("/home/samba"):
os.system("/bin/mkdir /home/samba")
os.system("/bin/chmod 0777 /home/samba")
# needed by non-root sharing support.
os.system("/bin/mkdir /var/lib/samba/usershares")
os.system("/bin/chgrp users /var/lib/samba/usershares")
os.system("/bin/chmod 1770 /var/lib/samba/usershares")
os.system("/bin/chmod 0750 /var/lib/samba/winbindd_privileged")