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

H O M E


Filename/var/lib/dpkg/info/popularity-contest.preinst
Size722
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:55
Last modified13-May-2013 18:06
Last accessed06-Jul-2025 22:08
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh

set -e

case "$1" in
install|upgrade)
# Move a conffile without triggering a dpkg question if it was not modified.
if dpkg --compare-versions "$2" le "1.44"; then
PKGNAME="popularity-contest"
CONFFILE="/etc/cron.weekly/popularity-contest"
NEWCONFFILE="/etc/cron.daily/popularity-contest"
if [ -e "$CONFFILE" ]; then
md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`"
if [ "$md5sum" = "$old_md5sum" ]; then
rm -f "$CONFFILE"
else
mv -f "$CONFFILE" "$NEWCONFFILE"
fi
fi
fi
esac