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

your ip : 172.69.130.140

H O M E


Filename/var/lib/dpkg/info/dash.prerm
Size563
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified19-Feb-2014 20:13
Last accessed06-Jul-2025 22:24
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh
#
# pre-removal script for the Debian GNU/Linux ash package
#
# $Id: dash.prerm,v 1.2 2003/09/03 10:42:08 herbert Exp $

set -e

remove_divert() {
diverter=$(dpkg-divert --listpackage $1)
if [ "$diverter" = "dash" ]; then
dpkg-divert --package dash --rename --remove $1
fi
}

remove_shell() {
if ! type remove-shell > /dev/null 2>&1; then
return
fi

remove-shell /bin/dash
}

if [ "$1" = remove ] || [ "$1" = deconfigure ]; then
remove_divert /bin/sh
remove_divert /usr/share/man/man1/sh.1.gz
fi

if [ "$1" = remove ]; then
remove_shell
fi