12 lines
324 B
Python
Executable File
12 lines
324 B
Python
Executable File
#/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")
|