| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh -e
docDir="/usr/share/doc/packages-microsoft-prod"
listDir="/etc/apt/sources.list.d"
listFile="microsoft-prod.list"
gpgDir="/etc/apt/trusted.gpg.d"
gpgFile="microsoft-prod.gpg"
case "$1" in
configure)
# Older versions of this package removed these files during upgrade
# dpkg would then (correctly) omit them, resulting in a broken install.
# If during upgrade these files are not present, install them.
# https://github.com/dotnet/core/issues/2149
if [ ! -f "${listDir}/${listFile}" ]; then
echo "File ${listDir}/${listFile} is missing. Installing..."
install -m 644 "${docDir}/${listFile}" "${listDir}"
fi
if [ ! -f "${gpgDir}/${gpgFile}" ]; then
echo "File ${gpgDir}/${gpgFile} is missing. Installing..."
install -m 644 "${docDir}/${gpgFile}" "${gpgDir}"
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0