mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
ff9f1c323f
Requested by: jkh (2) Don't let user pkg_delete the "upgrade kits". Requested by: Toshihiko Kodama <kodama@ayame.mfd.cs.fujitsu.co.jp>
6 lines
135 B
Bash
6 lines
135 B
Bash
#!/bin/sh
|
|
if [ $2 = "DEINSTALL" ]; then
|
|
echo "Package $1 cannot be removed -- to do so will render your system useless."
|
|
exit 1
|
|
fi
|