0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.149.249.84


Current Path : /proc/thread-self/root/var/lib/dpkg/info/
Upload File :
Current File : //proc/thread-self/root/var/lib/dpkg/info/libglib2.0-0:amd64.postrm

#! /bin/sh
set -e



if [ -d /usr/lib/x86_64-linux-gnu/gio/modules ]; then
    # Purge the cache
    rm -f /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
    rmdir -p --ignore-fail-on-non-empty /usr/lib/x86_64-linux-gnu/gio/modules
fi
if [ -d /usr/lib/gio/modules ]; then
    # Purge the cache
    if [ $(dpkg --print-architecture) = amd64 ]; then
        rm -f /usr/lib/gio/modules/giomodule.cache
        rmdir -p --ignore-fail-on-non-empty /usr/lib/gio/modules
    fi
fi

if [ "$1" = purge ] && [ -d /usr/share/glib-2.0/schemas ]; then
    # Purge the compiled schemas
    rm -f /usr/share/glib-2.0/schemas/gschemas.compiled
    rmdir -p --ignore-fail-on-non-empty /usr/share/glib-2.0/schemas

    # With multiarch enabled we can't be certain that the cache file
    # isn't needed for other architectures since it is not reference
    # counted. The best we can do is to fire a file trigger which will
    # regenerate the cache file if required.
    if [ -d /usr/share/glib-2.0/schemas ]; then
        dpkg-trigger /usr/share/glib-2.0/schemas
    fi
fi