if[$1-eq0]&&sd_booted;thenSYSTEMD_HELPER=/lib/systemd/systemd-update-helper;# Package removal, not upgrade $SYSTEMD_HELPERremove-system-unitssystemd-journal-gatewayd.servicesystemd-journal-remote.servicesystemd-journal-gatewayd.socketsystemd-journal-remote.socket||:fiif[$1-eq0]&&sd_booted;thenSYSTEMD_HELPER=/lib/systemd/systemd-update-helper;# Package removal, not upgrade $SYSTEMD_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