summaryrefslogtreecommitdiff
path: root/emulators/linux-locale/pkg/DEINSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/linux-locale/pkg/DEINSTALL')
-rw-r--r--emulators/linux-locale/pkg/DEINSTALL6
1 files changed, 6 insertions, 0 deletions
diff --git a/emulators/linux-locale/pkg/DEINSTALL b/emulators/linux-locale/pkg/DEINSTALL
new file mode 100644
index 00000000000..d0ce5fc559c
--- /dev/null
+++ b/emulators/linux-locale/pkg/DEINSTALL
@@ -0,0 +1,6 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2000/01/07 05:23:30 sakamoto Exp $
+grep -v 'libwcsmbs\.so' ${EMULPRELOAD} > /tmp/.ld.so.preload.save 2> /dev/null
+mv /tmp/.ld.so.preload.save ${EMULPRELOAD}
+if [ ! -s ${EMULPRELOAD} ]; then
+ rm -f ${EMULPRELOAD}
+fi