K2LL33D SHELL

 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 : 108.162.241.181

H O M E


Filename/var/lib/dpkg/info/python2.7.postinst
Size1.39 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:53
Last modified23-Mar-2014 07:57
Last accessed27-Apr-2025 09:53
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#! /bin/sh

set -e

case "$1" in
configure)
files=$(dpkg -L libpython2.7-stdlib | sed -n '/^\/usr\/lib\/python2.7\/.*\.py$/p')
if [ -n "$files" ]; then
python2.7 -E -S /usr/lib/python2.7/py_compile.py $files
if grep -sq '^byte-compile[^#]*optimize' /etc/python/debian_config; then
python2.7 -E -S -O /usr/lib/python2.7/py_compile.py $files
fi
else
echo >&2 "python2.7: can't get files for byte-compilation"
fi

# Create empty directories in /usr/local
if [ ! -e /usr/local/lib/python2.7 ]; then
mkdir -p /usr/local/lib/python2.7 2> /dev/null || true
chmod 2775 /usr/local/lib/python2.7 2> /dev/null || true
chown root:staff /usr/local/lib/python2.7 2> /dev/null || true
fi
if [ ! -e /usr/local/lib/python2.7/site-packages ]; then
mkdir -p /usr/local/lib/python2.7/site-packages 2> /dev/null || true
chmod 2775 /usr/local/lib/python2.7/site-packages 2> /dev/null || true
chown root:staff /usr/local/lib/python2.7/site-packages 2> /dev/null || true
fi
;;

abort-upgrade|abort-remove|abort-deconfigure)
;;

*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
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