AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.145.84.128


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

#! /bin/sh
set -e



case "$1" in
    (remove|purge)
        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
        ;;
esac

if [ "$1" = purge ] && [ -d /usr/share/glib-2.0/schemas ] && [ "$DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT" = 1 ]; then
    # This is the last multiarch variant to be removed, so drop the
    # architecture-independent 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
fi