|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /proc/17567/root/usr/src/cloud-init/packages/debian/ |
Upload File : |
#!/bin/sh
# vi: ts=4 expandtab
cleanup_lp1552999() {
local oldver="$1" last_bad_ver="0.7.7~bzr1178"
dpkg --compare-versions "$oldver" le "$last_bad_ver" || return 0
local hdir="/var/lib/systemd/deb-systemd-helper-enabled"
hdir="$hdir/multi-user.target.wants"
local edir="/etc/systemd/system/multi-user.target.wants"
rm -f "$hdir/cloud-config.service" "$hdir/cloud-final.service" \
"$hdir/cloud-init-local.service" "$hdir/cloud-init.service"
}
if [ "$1" = "upgrade" ]; then
oldver="$2"
cleanup_lp1552999 "$oldver"
fi
#DEBHELPER#