HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux wordpress 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.28
Disabled: NONE
Upload Files
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