moved into main for pisi 2.0

This commit is contained in:
2015-07-04 15:12:13 +03:00
parent 3b48e10776
commit b88266550d
35 changed files with 2498 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
if not os.path.exists("/var/lib/dhcpd/dhcpd.leases"):
os.system("/bin/touch /var/lib/dhcpd/dhcpd.leases")
if not os.path.exists("/var/lib/dhcpd/dhcpd6.leases"):
os.system("/bin/touch /var/lib/dhcpd/dhcpd6.leases")