Note that the actual content likely came from /etc/apt/apt.conf.d/50appstream:
# Refresh AppStream cache when APT's cache is updated (i.e. apt update) APT::Update::Post-Invoke-Success { "if /usr/bin/test -w /var/cache/swcatalog -a -e /usr/bin/appstreamcli; then appstreamcli refresh --source=os > /dev/null || true; fi"; };
Note that the actual content likely came from /etc/apt/ apt.conf. d/50appstream:
# Refresh AppStream cache when APT's cache is updated (i.e. apt update) :Post-Invoke- Success { swcatalog -a -e /usr/bin/ appstreamcli; then appstreamcli refresh --source=os > /dev/null || true; fi";
APT::Update:
"if /usr/bin/test -w /var/cache/
};