mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
ef8320c75b
commit tries to solve this by adding some @exec calls into the plist. Add a pkg-deinstall script with appropriate content which was previously in pkg-install (ouch). [1] PR: 82625 [1] Submitted by: Boris B. Samorodov <bsam ipt ru>
18 lines
297 B
Bash
18 lines
297 B
Bash
#!/bin/sh
|
|
# a deinstallation script for linux_base
|
|
|
|
case "$2" in
|
|
DEINSTALL)
|
|
if [ -n "`mount | grep -w ^linprocfs`" ]; then
|
|
echo 'Un-mounting linprocfs...'
|
|
umount linprocfs
|
|
fi
|
|
if [ -n "`mount | grep -w ^linproc`" ]; then
|
|
echo 'Un-mounting linproc...'
|
|
umount linproc
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
exit 0
|