Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat /var/lib/dpkg/info/mono-gac.
- mono-gac.list mono-gac.md5sums mono-gac.postinst mono-gac.preinst mono-gac.prerm
- $ cat /var/lib/dpkg/info/mono-gac.list
- /.
- /usr
- /usr/share
- /usr/share/cli-common
- /usr/share/cli-common/runtimes.d
- /usr/share/cli-common/runtimes.d/mono
- /usr/share/mono
- /usr/share/mono/MonoGetAssemblyName.exe
- /usr/share/doc
- /usr/share/doc/mono-gac
- /usr/share/doc/mono-gac/copyright
- /usr/share/doc/mono-gac/changelog.Debian.gz
- /usr/share/man
- /usr/share/man/man1
- /usr/share/man/man1/gacutil.1.gz
- /usr/bin
- /usr/bin/gacutil
- $ cat /var/lib/dpkg/info/mono-gac.md5sums
- 8c6688b06bfd016d65283c47163e62d1 usr/share/cli-common/runtimes.d/mono
- 75e0e0fea6c68e27a975a253d53c12aa usr/share/mono/MonoGetAssemblyName.exe
- c0fd05fd66dc510f1ace63eb3e370ab5 usr/share/doc/mono-gac/copyright
- 107573002dbdf16b36ea0c41448e62d6 usr/share/doc/mono-gac/changelog.Debian.gz
- 10b02f0600b1187d452d1e665a052d78 usr/share/man/man1/gacutil.1.gz
- 38c6bf4d46b4eccddf9c3cd57626996c usr/bin/gacutil
- $ cat /var/lib/dpkg/info/mono-gac.postinst
- #!/bin/sh -e
- # Install the GAC
- if [ -x /usr/share/cli-common/gac-install ]; then
- /usr/share/cli-common/gac-install mono
- fi
- # Update the alternatives
- update-alternatives \
- --install /usr/bin/cli-gacutil global-assembly-cache-tool /usr/bin/gacutil 10 \
- --slave /usr/share/man/man1/cli-gacutil.1.gz cli-gacutil.1.gz /usr/share/man/man1/gacutil.1.gz
- $ cat /var/lib/dpkg/info/mono-gac.preinst
- #!/bin/sh
- set -e
- # revert Ubuntu doc dir symlinking to Debian style
- if [ "$1" = "upgrade" ]
- then if dpkg --compare-versions $2 lt 2.4 && [ -L /usr/share/doc/mono-gac ]
- then rm -fr /usr/share/doc/mono-gac
- fi
- fi
- $ cat /var/lib/dpkg/info/mono-gac.prerm
- #!/bin/sh -e
- if [ "$1" = remove ]; then
- update-alternatives --remove global-assembly-cache-tool /usr/bin/gacutil
- # Remove the GAC
- if [ -x /usr/share/cli-common/gac-remove ]; then
- /usr/share/cli-common/gac-remove mono
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement