Files
core/system/base/glibc/comar/package.py
T
2015-02-24 11:18:35 +02:00

12 lines
324 B
Python

#/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
if os.path.exists("/usr/sbin/iconvconfig"):
# Generate fastloading iconv module configuration file.
os.popen("/usr/sbin/iconvconfig --prefix=/")
# Reload init ...
os.popen("/sbin/init U &> /dev/null")