Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / var / lib / dpkg / info / | server ip : 104.21.89.46 your ip : 172.71.255.13 H O M E |
Filename | /var/lib/dpkg/info/python3.4.postinst |
Size | 622 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 11-Apr-2014 22:15 |
Last accessed | 07-Jul-2025 00:22 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#! /bin/sh
set -e
case "$1" in
configure)
files=$(dpkg -L libpython3.4-stdlib | sed -n '/^\/usr\/lib\/python3.4\/.*\.py$/p')
if [ -n "$files" ]; then
python3.4 -E -S /usr/lib/python3.4/py_compile.py $files
if grep -sq '^byte-compile[^#]*optimize' /etc/python/debian_config; then
python3.4 -E -S -O /usr/lib/python3.4/py_compile.py $files
fi
else
echo >&2 "python3.4: can't get files for byte-compilation"
fi
esac
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
exit 0
set -e
case "$1" in
configure)
files=$(dpkg -L libpython3.4-stdlib | sed -n '/^\/usr\/lib\/python3.4\/.*\.py$/p')
if [ -n "$files" ]; then
python3.4 -E -S /usr/lib/python3.4/py_compile.py $files
if grep -sq '^byte-compile[^#]*optimize' /etc/python/debian_config; then
python3.4 -E -S -O /usr/lib/python3.4/py_compile.py $files
fi
else
echo >&2 "python3.4: can't get files for byte-compilation"
fi
esac
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
exit 0