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.137.174.253


Current Path : /var/lib/dpkg/info/
Upload File :
Current File : /var/lib/dpkg/info/shared-mime-info.postrm

#!/bin/sh

set -e



if [ "$1" = purge ]; then
	MIMEDIR="/usr/share/mime"
	if [ -e $MIMEDIR ]; then
		cd $MIMEDIR && rm -rf $(ls |grep -v ^packages$)
		rmdir --ignore-fail-on-non-empty $MIMEDIR
	fi
fi