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.70.131.141

H O M E


Filename/var/lib/dpkg/info/logrotate.preinst
Size670
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified23-Jan-2014 03:17
Last accessed06-Jul-2025 22:16
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh
set -e
if [ "$1" = "upgrade" ]; then

# Fix up the location of the state files that previous versions used.

if [ -f /var/state/logrotate/status ]; then
if [ -f /var/lib/logrotate/status ]; then
rm /var/state/logrotate/status
else
mkdir -m 755 -p /var/lib/logrotate
mv /var/state/logrotate/status /var/lib/logrotate/status
fi
rm -rf /var/state/logrotate
fi

if [ -f /var/lib/logrotate.status ]; then
if [ -f /var/lib/logrotate/status ]; then
rm /var/lib/logrotate.status
else
mkdir -m 755 -p /var/lib/logrotate
mv /var/lib/logrotate.status /var/lib/logrotate/status
fi
fi

fi



exit 0