📁 File Manager Pro
v10.0.3 | PHP: 7.4.15
Server: Apache/2.4.25 (Debian)
2026-07-01 21:55:41
📂
/ (Root)
/
var
/
lib
/
dpkg
/
info
📍 /var/lib/dpkg/info
🔄 Refresh
✏️
Editing: logrotate.preinst
Read Only
#!/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
💾 Save Changes
❌ Cancel