if[$1-eq0]&&sd_booted;then# Package removal, not upgrade /lib/systemd/systemd-update-helperremove-system-unitssystemd-journal-gatewayd.servicesystemd-journal-remote.servicesystemd-journal-gatewayd.socketsystemd-journal-remote.socket||:fiif[$1-eq0]&&sd_booted;then# Package removal, not upgrade /lib/systemd/systemd-update-helperremove-system-unitssystemd-journal-upload.service||:fiif[$1-eq1];then
if[-f/var/lib/systemd/journal-upload/state-a!-L/var/lib/systemd/journal-upload];then
mkdir-p/var/lib/private/systemd/journal-upload
mv/var/lib/systemd/journal-upload/state/var/lib/private/systemd/journal-upload/
rmdir/var/lib/systemd/journal-upload||:
fi
fi